pkgsrc/devel/libnet11/patches/patch-ab
adrianp 216b88309d The libnet 1.1.x branch will now install as libnet11-1.1.x this will avoid
conflicts with the libnet 1.0.x branch and allow the two to be run
side-by-side.
2007-02-18 18:30:59 +00:00

15 lines
455 B
Text

$NetBSD: patch-ab,v 1.1 2007/02/18 18:31:00 adrianp Exp $
--- libnet-config.in.orig 2004-01-03 20:31:00.000000000 +0000
+++ libnet-config.in
@@ -8,8 +8,8 @@
# @configure_input@
libnet_defines="@LIBNET_CONFIG_DEFINES@"
-libnet_cflags="@LIBNET_CONFIG_CFLAGS@"
-libnet_libs="@LIBNET_CONFIG_LIBS@ -lnet"
+libnet_cflags="@LIBNET_CONFIG_CFLAGS@ -I@prefix@/include/libnet11"
+libnet_libs="@LIBNET_CONFIG_LIBS@ -L@prefix@/lib/libnet11 -lnet"
usage()
{