summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-10-06 07:42:18 +0000
committerarved <arved@FreeBSD.org>2004-10-06 07:42:18 +0000
commitd3f232e7d98a438d3ace1c7c17723d9fcf188811 (patch)
treee7a005e315fb2651a38e50cdcee2279657779714
parent4c99c9408d0302eb0b3682747a41cc0a6def2f43 (diff)
downloadFreeBSD-ports-d3f232e7d98a438d3ace1c7c17723d9fcf188811.zip
FreeBSD-ports-d3f232e7d98a438d3ace1c7c17723d9fcf188811.tar.gz
Fix package build on AMD64
PR: 72335 Submitted by: Andrew Thompson <andy@fud.org.nz> Approved by: portmgr
-rw-r--r--net/freeradius/Makefile4
-rw-r--r--net/freeradius/pkg-plist1
-rw-r--r--net/freeradius2/Makefile4
-rw-r--r--net/freeradius2/pkg-plist1
4 files changed, 10 insertions, 0 deletions
diff --git a/net/freeradius/Makefile b/net/freeradius/Makefile
index 93bce73..825e46d 100644
--- a/net/freeradius/Makefile
+++ b/net/freeradius/Makefile
@@ -94,6 +94,10 @@ MAKE_ENV+= NOPORTDOCS=yes
#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 \
diff --git a/net/freeradius/pkg-plist b/net/freeradius/pkg-plist
index 81a0cf0..748b23f 100644
--- a/net/freeradius/pkg-plist
+++ b/net/freeradius/pkg-plist
@@ -427,6 +427,7 @@ sbin/rc.radiusd
%%PORTDOCS%%@dirrm %%DOCSDIR%%/rfc
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm etc/raddb/certs/demoCA
+@dirrm etc/raddb/certs
@exec mkdir -p /var/log/raddb
@exec chmod -R og= /var/log/raddb
@unexec rm -fr /var/log/raddb
diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile
index 93bce73..825e46d 100644
--- a/net/freeradius2/Makefile
+++ b/net/freeradius2/Makefile
@@ -94,6 +94,10 @@ MAKE_ENV+= NOPORTDOCS=yes
#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 \
diff --git a/net/freeradius2/pkg-plist b/net/freeradius2/pkg-plist
index 81a0cf0..748b23f 100644
--- a/net/freeradius2/pkg-plist
+++ b/net/freeradius2/pkg-plist
@@ -427,6 +427,7 @@ sbin/rc.radiusd
%%PORTDOCS%%@dirrm %%DOCSDIR%%/rfc
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm etc/raddb/certs/demoCA
+@dirrm etc/raddb/certs
@exec mkdir -p /var/log/raddb
@exec chmod -R og= /var/log/raddb
@unexec rm -fr /var/log/raddb
OpenPOWER on IntegriCloud