aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp4
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-02-09 20:22:23 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-02-09 20:22:23 +0000
commit0f4782f55a889b484be4a4749738172a96bdb570 (patch)
tree3f07f376778342014bafffa55301fd1df20b45f6 /net-mgmt/net-snmp4
parent4bd9a44945281398d2631dfea7ad6eb8aa2190a3 (diff)
downloadports-0f4782f55a889b484be4a4749738172a96bdb570.tar.gz
ports-0f4782f55a889b484be4a4749738172a96bdb570.zip
- Fix build on AMD64
Approved by: maintainer
Notes
Notes: svn path=/head/; revision=100518
Diffstat (limited to 'net-mgmt/net-snmp4')
-rw-r--r--net-mgmt/net-snmp4/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp4/Makefile b/net-mgmt/net-snmp4/Makefile
index 951b1b96702f..7a2f4991ddab 100644
--- a/net-mgmt/net-snmp4/Makefile
+++ b/net-mgmt/net-snmp4/Makefile
@@ -24,6 +24,7 @@ USE_PERL5= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
+CFLAGS+= -fPIC
CONFIGURE_ARGS+= --enable-shared --with-mib-modules="host ucd-snmp/diskio" \
--with-gnu-ld --with-libwrap --with-libs="-ldevstat"