mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- fix libnet-config
Submitted by: Cy Schubert
This commit is contained in:
parent
6396b806c2
commit
2cb7f3c7c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265969
@ -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}|' \
|
||||
|
Loading…
Reference in New Issue
Block a user