ports/72335: [patch] Fix net/freeradius build on AMD64

Andrew Thompson andy at fud.org.nz
Mon Oct 4 21:30:33 UTC 2004


>Number:         72335
>Category:       ports
>Synopsis:       [patch] Fix net/freeradius build on AMD64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 04 21:30:32 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Thompson
>Release:        FreeBSD 5.3-BETA6 i386
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD hudson.fire.org.nz 5.3-BETA6 FreeBSD 5.3-BETA6 #0: Sat Sep 25 19:41:14 UTC 2004 root at wv1u.samsco.home:/usr/obj/usr/src/sys/GENERIC i386


>Description:
Fix build of net/freeradius build on AMD64 by making code compile with -fPIC

>How-To-Repeat:
>Fix:



--- Makefile.orig	Mon Oct  4 22:41:44 2004
+++ Makefile	Mon Oct  4 22:29:55 2004
@@ -94,6 +94,10 @@
 #CONFIGURE_ARGS+=--without-rlm_x99_token
 PLIST_SUB+=	TOKEN=""
 
+.if ${ARCH} == "amd64"
+CONFIGURE_ARGS+=--with-pic
+.endif
+
 INSTALLS_SHLIB=	yes
 
 MAN1=		radclient.1 radeapclient.1 radlast.1 radtest.1 radwho.1 \
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list