aboutsummaryrefslogtreecommitdiff
path: root/net/freeradius2/Makefile
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/freeradius2/Makefile
parentf8e815e45de324e06e28163c96b8b8c12b805353 (diff)
downloadports-6fbdc49389e7a9705432dfaa4199e0aa65afbe5f.tar.gz
ports-6fbdc49389e7a9705432dfaa4199e0aa65afbe5f.zip
Notes
Diffstat (limited to 'net/freeradius2/Makefile')
-rw-r--r--net/freeradius2/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile
index 1a8762b2ea51..9560caf3019a 100644
--- a/net/freeradius2/Makefile
+++ b/net/freeradius2/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