pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/freeradius Remove unneeded undef



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4bd5b4b5b7c9
branches:  trunk
changeset: 503761:4bd5b4b5b7c9
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Mon Nov 28 23:44:02 2005 +0000

description:
Remove unneeded undef
Add -fPIC for amd64 platform to fix build.  Reported in PR 31225 by Eric Radman

diffstat:

 net/freeradius/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 37a514585392 -r 4bd5b4b5b7c9 net/freeradius/Makefile
--- a/net/freeradius/Makefile   Mon Nov 28 22:12:24 2005 +0000
+++ b/net/freeradius/Makefile   Mon Nov 28 23:44:02 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2005/09/22 16:13:17 adrianp Exp $
+# $NetBSD: Makefile,v 1.37 2005/11/28 23:44:02 adrianp Exp $
 
 DISTNAME=      freeradius-1.0.5
 PKGREVISION=   2
@@ -81,7 +81,6 @@
 .for f in ${EGFILES}
 CONF_FILES+=   ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
 .endfor
-.undef f
 
 .include "../../security/openssl/buildlink3.mk"
 .include "../../devel/libltdl/buildlink3.mk"
@@ -102,6 +101,10 @@
                                -lpthread|g"
 .endif
 
+.if ${MACHINE_ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
 pre-build:
        cd ${WRKSRC} && ${LN} -s src/lib lib
 



Home | Main Index | Thread Index | Old Index