aboutsummaryrefslogtreecommitdiffstats
path: root/net/libfb
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2016-03-20 18:53:08 +0800
committertijl <tijl@FreeBSD.org>2016-03-20 18:53:08 +0800
commit9bf09f69cf8a3acf95e51a0a1e8d6eedfd31e3ca (patch)
treec30aa05ffe4be67ca3bb38317073b7e6603daa7c /net/libfb
parent6af0c041428d493f447a328f9e81efe5b6d72273 (diff)
downloadfreebsd-ports-gnome-9bf09f69cf8a3acf95e51a0a1e8d6eedfd31e3ca.tar.gz
freebsd-ports-gnome-9bf09f69cf8a3acf95e51a0a1e8d6eedfd31e3ca.tar.zst
freebsd-ports-gnome-9bf09f69cf8a3acf95e51a0a1e8d6eedfd31e3ca.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)
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>