- fix libnet-config

Submitted by:	Cy Schubert
This commit is contained in:
Dirk Meyer 2010-12-10 12:27:06 +00:00
parent 6396b806c2
commit 2cb7f3c7c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265969

View file

@ -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}|' \