aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-12-10 20:27:06 +0800
committerdinoex <dinoex@FreeBSD.org>2010-12-10 20:27:06 +0800
commit725f799b5a07fbf45f172fda0036ebe3d81be060 (patch)
tree3035466c085f033e59f7bcd2cdafa04ebf105542 /net
parentf37a5c1aec7dcd98365d2185dae87dc630922929 (diff)
downloadfreebsd-ports-gnome-725f799b5a07fbf45f172fda0036ebe3d81be060.tar.gz
freebsd-ports-gnome-725f799b5a07fbf45f172fda0036ebe3d81be060.tar.zst
freebsd-ports-gnome-725f799b5a07fbf45f172fda0036ebe3d81be060.zip
- fix libnet-config
Submitted by: Cy Schubert
Diffstat (limited to 'net')
-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}|' \