aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/libnet-devel/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/libnet-devel/Makefile b/net/libnet-devel/Makefile
index 76cac44ab6b8..512811396767 100644
--- a/net/libnet-devel/Makefile
+++ b/net/libnet-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libnet
PORTVERSION= 1.1.3.r1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.packetfactory.net/libnet/dist/
PKGNAMESUFFIX= ${SHORT_VER}-devel
@@ -32,6 +32,8 @@ EXAMPLES= sample/*.c
SHORT_VER= 113
+USE_LDCONFIG= ${PREFIX}/lib/libnet${SHORT_VER}
+
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/libnet-config \
${PREFIX}/bin/libnet${SHORT_VER}-config