diff options
-rw-r--r-- | net/libnet-devel/Makefile | 3 |
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}|' \ |