aboutsummaryrefslogtreecommitdiffstats
path: root/net/libnet
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-02-21 14:38:16 +0800
committerdinoex <dinoex@FreeBSD.org>2013-02-21 14:38:16 +0800
commit15512ebfa0fceeed83f101913529cb80bb7ea2d6 (patch)
tree1551116f3aa39275e02f7dfe8fa307d610268a89 /net/libnet
parentdc49ade4dddd522f502bd72d07ca9d76a321061c (diff)
downloadfreebsd-ports-gnome-15512ebfa0fceeed83f101913529cb80bb7ea2d6.tar.gz
freebsd-ports-gnome-15512ebfa0fceeed83f101913529cb80bb7ea2d6.tar.zst
freebsd-ports-gnome-15512ebfa0fceeed83f101913529cb80bb7ea2d6.zip
- build shared lib with PIC
Diffstat (limited to 'net/libnet')
-rw-r--r--net/libnet/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/libnet/Makefile b/net/libnet/Makefile
index 9de58b1f71bd..5cdb89492692 100644
--- a/net/libnet/Makefile
+++ b/net/libnet/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libnet
PORTVERSION= 1.1.6
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= SF/libnet-dev
@@ -17,8 +18,8 @@ LATEST_LINK= ${PORTNAME}${SHORT_VER}
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-#CFLAGS+= -fPIC
-#USE_CSTD= gnu89
+CFLAGS+= -fPIC
+USE_CSTD= gnu89
CONFIGURE_ARGS= --with-link-layer=${LIBNET_LINK}
SHORT_VER= 11