summaryrefslogtreecommitdiff
path: root/net/freeradius
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-02-14 21:04:28 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-02-14 21:04:28 +0000
commit6fbdc49389e7a9705432dfaa4199e0aa65afbe5f (patch)
tree45fb9fc9a86b41b4d9de9831fc2fd38879910038 /net/freeradius
parentUpdate to 0.4.7. (diff)
- Fix PLIST on amd64 [1]
- Rename startup script back to radiusd.sh. It was renamed accidently Reported by: krismail [1]
Notes
Notes: svn path=/head/; revision=156061
Diffstat (limited to 'net/freeradius')
-rw-r--r--net/freeradius/Makefile6
-rw-r--r--net/freeradius/files/radiusd.sh.in (renamed from net/freeradius/files/radiusd.in)0
2 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
diff --git a/net/freeradius/files/radiusd.in b/net/freeradius/files/radiusd.sh.in
index 48a301cc8658..48a301cc8658 100644
--- a/net/freeradius/files/radiusd.in
+++ b/net/freeradius/files/radiusd.sh.in