summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoradrianp <adrianp>2005-11-28 23:44:02 +0000
committeradrianp <adrianp>2005-11-28 23:44:02 +0000
commit527a743573f69cba1218775b0d0601a85ea712df (patch)
treeca446d35a7f69650ebcf66a4e5db14ed350156a7 /net
parenta94b6e3507e5d0f814459fdc115217d6874c7d2d (diff)
downloadpkgsrc-527a743573f69cba1218775b0d0601a85ea712df.tar.gz
Remove unneeded undef
Add -fPIC for amd64 platform to fix build. Reported in PR 31225 by Eric Radman
Diffstat (limited to 'net')
-rw-r--r--net/freeradius/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/freeradius/Makefile b/net/freeradius/Makefile
index 7d0141edeb5..db34c094bdc 100644
--- a/net/freeradius/Makefile
+++ b/net/freeradius/Makefile
@@ -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 @@ EGFILES= acct_users attrs certs/demoCA/index.txt.old \
.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 @@ SUBST_SED.make+= -e "s|@ldap_ldflags@|@ldap_ldflags@ \
-lpthread|g"
.endif
+.if ${MACHINE_ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
pre-build:
cd ${WRKSRC} && ${LN} -s src/lib lib