Date: Wed, 05 Dec 2007 12:04:59 +0300 From: Andrej Zverev <az@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/118443: [PATCH] fix build net/freeradius with amd64 arch Message-ID: <E1IzqBf-0005i8-87@mail.electro-com.ru> Resent-Message-ID: <200712050920.lB59K1vd002773@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 118443 >Category: ports >Synopsis: [PATCH] fix build net/freeradius with amd64 arch >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 05 09:20:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Andrej Zverev >Release: >Organization: >Environment: >Description: net/freeradius fail to build under 7.0 amd64 and HEAD. This fix allow to fix this issue. >How-To-Repeat: >Fix: --- patch-freeradius.diff begins here --- Index: freeradius/Makefile =================================================================== RCS file: /home/pcvs/ports/net/freeradius/Makefile,v retrieving revision 1.62 diff -u -r1.62 Makefile --- freeradius/Makefile 28 Oct 2007 22:08:44 -0000 1.62 +++ freeradius/Makefile 5 Dec 2007 09:01:11 -0000 @@ -61,12 +61,6 @@ .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 700042 -.if ${ARCH} == "amd64" -BROKEN= Does not compile with GCC 4.2 -.endif -.endif - # Default requirements for rc script _REQUIRE= NETWORKING SERVERS @@ -101,6 +95,9 @@ --without-rlm_sql_unixodbc .if ${ARCH} == amd64 +.if ${OSVERSION} >= 700042 +EXTRA_PATCHES+= ${FILESDIR}/extra-src-main-Makefile.in +.endif CONFIGURE_ARGS+= --with-pic .endif Index: freeradius/files/extra-src-main-Makefile.in =================================================================== RCS file: freeradius/files/extra-src-main-Makefile.in diff -N freeradius/files/extra-src-main-Makefile.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ freeradius/files/extra-src-main-Makefile.in 5 Dec 2007 09:01:11 -0000 @@ -0,0 +1,11 @@ +--- src/main/Makefile.in.orig 2007-02-14 15:44:23.000000000 +0000 ++++ src/main/Makefile.in 2007-12-04 19:12:30.000000000 +0000 +@@ -61,7 +61,7 @@ + + radiusd: $(SERVER_OBJS) $(MODULE_OBJS) ../lib/libradius.la + $(LIBTOOL) --mode=link $(CC) -export-dynamic -dlopen self \ +- $(LDFLAGS) -pie $(LINK_MODE) -o $@ $(SERVER_OBJS) \ ++ $(LDFLAGS) $(LINK_MODE) -o $@ $(SERVER_OBJS) \ + $(MODULE_LIBS) $(LIBS) $(SNMP_LIBS) $(PTHREADLIB) \ + $(LIBLTDL) $(OPENSSL_LIBS) + --- patch-freeradius.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1IzqBf-0005i8-87>