ports/77638: lang/libjit: unbreak compilation on amd64

Johan van Selst johans at stack.nl
Thu Feb 17 14:30:25 UTC 2005


>Number:         77638
>Category:       ports
>Synopsis:       lang/libjit: unbreak compilation on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 17 14:30:24 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Johan van Selst
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Jan 31 22:31:14 CET 2005 root at mud.stack.nl:/usr/obj/usr/src/sys/mud i386


	
>Description:
	
	The port Makefile incorrectly removes PIC flags.
	Fix: keep the required flags on amd64 architectures

>How-To-Repeat:
	
>Fix:

	

--- libjit/Makefile	Thu Feb 17 15:22:59 2005
+++ libjit/Makefile	Thu Feb 17 15:23:01 2005
@@ -24,10 +24,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "amd64"
-BROKEN=		"Does not compile on amd64"
-.endif
-
 post-patch:
 .if ${OSVERSION} >=	502128
 	@${REINPLACE_CMD} -e 's|#undef HAVE_TGMATH_H||' \
@@ -35,7 +31,7 @@
 .endif
 
 post-configure:
-.if ${OSVERSION} >=	502123
+.if ${OSVERSION} >=	502123 && ${ARCH} != "amd64"
 	@${REINPLACE_CMD} -e 's|$$pic_flag -DPIC||' \
 		${WRKSRC}/libtool
 .endif

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



More information about the freebsd-ports-bugs mailing list