ports/77328: security/audit: fix for compilation on amd64

Johan van Selst johans at stack.nl
Wed Feb 9 21:30:23 UTC 2005


>Number:         77328
>Category:       ports
>Synopsis:       security/audit: fix for 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:   Wed Feb 09 21:30:22 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:
	
	Include -fPIC to compile on amd64 machines.

	Note: This only guarantees the same behaviour on amd64
	as it already shows on other systems:
	- Compilation silently fails to produce auth_srp (not in plist)
	- MASTER_SITES disagree on SIZE (the last site works)

>How-To-Repeat:
	
>Fix:

	


--- audit/Makefile.orig	Wed Feb  9 21:59:56 2005
+++ audit/Makefile	Wed Feb  9 22:00:11 2005
@@ -20,6 +20,8 @@
 OPTIONS=	MYSQL "With MySQL support" off \
 		PGSQL "With PostGreSQL support" off
 
+MAKE_ARGS=	CFLAGS="-g -Wall -fPIC -DPIC"
+
 .if defined(WITH_MYSQL)
 USE_MYSQL=	yes
 .endif
@@ -61,10 +63,6 @@
 LIBVERSION=	1
 
 .include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64"
-BROKEN=		"Does not compile on amd64"
-.endif
 
 post-patch:
 	${REINPLACE_CMD} -e "s at Linux@FreeBSD at g" ${WRKSRC}/configure
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list