Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Oct 2004 10:21:39 +1300
From:      Andrew Thompson <andy@fud.org.nz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72335: [patch] Fix net/freeradius build on AMD64
Message-ID:  <200410042121.i94LLdfR032109@thingy.tbd.co.nz>
Resent-Message-ID: <200410042130.i94LUW8f028318@freefall.freebsd.org>

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

>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@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:



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