2014-11-05 12:41:07 +01:00

22 lines
854 B
Plaintext

$NetBSD: patch-ab,v 1.2 2013/10/20 18:00:57 joerg Exp $
--- Makefile.in.orig 2004-04-10 01:38:56.000000000 +0200
+++ Makefile.in 2010-01-26 23:35:22.000000000 +0100
@@ -50,14 +50,14 @@
$(RANLIB) $@
hping3: byteorder.h $(OBJ)
- $(CC) -o hping3 $(CCOPT) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@
+ $(CC) -o hping3 $(CCOPT) $(DEBUG) $(OBJ) -L@PREFIX@/lib ${COMPILER_RPATH_FLAG}@PREFIX@/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@
@echo
./hping3 -v
@echo "use \`make strip' to strip hping3 binary"
@echo "use \`make install' to install hping3"
hping3-static: byteorder.h $(OBJ)
- $(CC) -static -o hping3-static $(CCOPT) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@ -ldl
+ $(CC) -static -o hping3-static $(CCOPT) $(DEBUG) $(OBJ) -L@PREFIX@/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@ -ldl
byteorder.h:
./configure