aboutsummaryrefslogtreecommitdiff
path: root/net/libnet-devel
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-12-10 12:27:06 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-12-10 12:27:06 +0000
commit2cb7f3c7c062529b84de44e35e0c892196c767a4 (patch)
treeb3508840373904d5c44a7444a7fe0f8f26479bf0 /net/libnet-devel
parent6396b806c2c5b738d5804a064417b4035454ca19 (diff)
downloadports-2cb7f3c7c062529b84de44e35e0c892196c767a4.tar.gz
ports-2cb7f3c7c062529b84de44e35e0c892196c767a4.zip
Notes
Diffstat (limited to 'net/libnet-devel')
-rw-r--r--net/libnet-devel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/libnet-devel/Makefile b/net/libnet-devel/Makefile
index 732fcfd75949..2a223cc343c5 100644
--- a/net/libnet-devel/Makefile
+++ b/net/libnet-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libnet
PORTVERSION= 1.1.5
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF/libnet-dev
@@ -52,7 +53,7 @@ LIBNET_LINK= bpf
post-patch:
${REINPLACE_CMD} \
- -e 's|@LIBNET_CONFIG_LIBS@|@LIBNET_CONFIG_LIBS@ -I@prefix@/include/${SHORT_NAME}|' \
+ -e 's|@LIBNET_CONFIG_LIBS@|@LIBNET_CONFIG_LIBS@ -L@prefix@/lib/${SHORT_NAME}|' \
-e 's|@LIBNET_CONFIG_CFLAGS@|@LIBNET_CONFIG_CFLAGS@ -I@prefix@/include/${SHORT_NAME}|' \
${WRKSRC}/libnet-config.in
${REINPLACE_CMD} -e 's|^includedir =.*|includedir = @includedir@/${SHORT_NAME}|' \