aboutsummaryrefslogtreecommitdiffstats
path: root/net/libfb
diff options
context:
space:
mode:
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>