aboutsummaryrefslogtreecommitdiffstats
path: root/net/freeradius/Makefile
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-02-15 05:04:28 +0800
committersem <sem@FreeBSD.org>2006-02-15 05:04:28 +0800
commitc98937b392fb0bd372dbf105e0fdf5ab5a81204a (patch)
tree1fb1515b4983eaf9742edf020d880af5f8a5ccd1 /net/freeradius/Makefile
parent8c8724ab0bd513a901d9e319a1dd602f24ca0ea0 (diff)
downloadfreebsd-ports-gnome-c98937b392fb0bd372dbf105e0fdf5ab5a81204a.tar.gz
freebsd-ports-gnome-c98937b392fb0bd372dbf105e0fdf5ab5a81204a.tar.zst
freebsd-ports-gnome-c98937b392fb0bd372dbf105e0fdf5ab5a81204a.zip
- Fix PLIST on amd64 [1]
- Rename startup script back to radiusd.sh. It was renamed accidently Reported by: krismail [1]
Diffstat (limited to 'net/freeradius/Makefile')
-rw-r--r--net/freeradius/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/freeradius/Makefile b/net/freeradius/Makefile
index 1a8762b2ea51..9560caf3019a 100644
--- a/net/freeradius/Makefile
+++ b/net/freeradius/Makefile
@@ -21,7 +21,7 @@ LOGDIR?= /var/log
CONFLICTS= gnu-radius-1.* openradius-0.* radiusd-cistron-1.*
-USE_RC_SUBR= radiusd
+USE_RC_SUBR= radiusd.sh
USE_AUTOTOOLS= libltdl:15 libtool:13
USE_GMAKE= yes
USE_PERL5= yes
@@ -48,6 +48,10 @@ OPTIONS= KERBEROS "With Kerberos support" off \
.include <bsd.port.pre.mk>
+.if ${ARCH} == amd64
+CFLAGS+= -fPIC
+.endif
+
.if defined(WITH_HEIMDAL) && !defined(WITH_KERBEROS)
WITH_KERBEROS= yes
.endif