Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2002 12:05:46 +0200 (CEST)
From:      Miguel Mendez <flynn@energyhq.homeip.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mkm@ieee.org
Subject:   ports/41040: Unbreak devel/crystal (problem with nasm flags)
Message-ID:  <200207271005.g6RA5kwW013013@kajsa.energyhq.tk>

next in thread | raw e-mail | index | archive | help

>Number:         41040
>Category:       ports
>Synopsis:       Unbreak devel/crystal (problem with nasm flags)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 27 03:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Miguel Mendez
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD kajsa.energyhq.tk 4.6-STABLE FreeBSD 4.6-STABLE #0: Fri Jul 19 21:27:07 CEST 2002 root@kajsa.energyhq.tk:/usr/obj/usr/src/sys/KAJSA i386


	
>Description:
nasm.mak is currently set in a way the triggers a nasm -f aoutb call, 
which is not valid for FreeBSD, change to -f elf
>How-To-Repeat:
	
>Fix:

	

--- crystal.diff begins here ---
diff -ruN crystal.old/files/patch-ab crystal/files/patch-ab
--- crystal.old/files/patch-ab	Thu Jan  1 01:00:00 1970
+++ crystal/files/patch-ab	Sat Jul 27 11:44:02 2002
@@ -0,0 +1,11 @@
+--- mk/nasm.mak.old	Sat Jul 27 11:29:09 2002
++++ mk/nasm.mak	Sat Jul 27 11:29:28 2002
+@@ -18,7 +18,7 @@
+ NASM.BIN = nasm
+ 
+ # NASM flags (well, PROC= is not quite useful (for now?))
+-NASMFLAGS = -DOS=$(OS) -DCOMP=$(COMP) -DPROC=$(PROC) $(NASMFLAGS.SYSTEM)
++NASMFLAGS = -DOS=$(OS) -DCOMP=$(COMP) -DPROC=$(PROC) -f elf
+ 
+ # If shared libraries use position-independent code, tell NASM about that
+ ifneq ($(substr pic,$(CFLAGS.DLL))$(substr PIC,$(CFLAGS.DLL)),)
--- crystal.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207271005.g6RA5kwW013013>