aboutsummaryrefslogtreecommitdiff
path: root/net/libfb
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2016-03-20 10:53:08 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2016-03-20 10:53:08 +0000
commit654ccc6aac9c7681ed39c2cd2d10d8360ec7a9bc (patch)
treec30aa05ffe4be67ca3bb38317073b7e6603daa7c /net/libfb
parent3dc362ac88ab73d6f0b3635628a59d9597e6da4e (diff)
downloadports-654ccc6aac9c7681ed39c2cd2d10d8360ec7a9bc.tar.gz
ports-654ccc6aac9c7681ed39c2cd2d10d8360ec7a9bc.zip
Install net/libnet headers and libraries back in the location where other
ports expect it. The files were put in a different location to avoid a conflict with net/libnet10 but this port has been removed a while ago now. PR: 208122 Exp-run by: antoine Approved by: portmgr (antoine)
Notes
Notes: svn path=/head/; revision=411432
Diffstat (limited to 'net/libfb')
-rw-r--r--net/libfb/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/net/libfb/Makefile b/net/libfb/Makefile
index 762583cb19dd..3505473c80f0 100644
--- a/net/libfb/Makefile
+++ b/net/libfb/Makefile
@@ -14,15 +14,9 @@ LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-shared
-CPPFLAGS+= ${LIBNET_CPPFLAGS}
+CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
USES= libtool
-LIBNET_CONFIG= ${LOCALBASE}/bin/libnet11-config
-LIBNET_CPPFLAGS=`${LIBNET_CONFIG} --cflags` `${LIBNET_CONFIG} --defines`
-LIBNET_LIBS= `${LIBNET_CONFIG} --libs`
-
-post-patch:
- @${REINPLACE_CMD} 's,-lnet,${LIBNET_LIBS},' ${WRKSRC}/configure
-
.include <bsd.port.mk>