1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Fix MASTER_SITES

- Support LOCALBASE properly

PR:		45862
Submitted by:	Ports Fury
This commit is contained in:
Ying-Chieh Liao 2002-12-22 17:10:31 +00:00
parent e3db7f3131
commit fba38f2866
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71790
2 changed files with 10 additions and 9 deletions

View File

@ -8,19 +8,20 @@
PORTNAME= firewalk
PORTVERSION= 1.0
CATEGORIES= security
MASTER_SITES= http://www.packetfactory.net/firewalk/
MASTER_SITES= http://www.packetfactory.net/firewalk/dist/
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
MAN1= firewalk.1
WRKSRC= ${WRKDIR}/Firewalk-${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LDFLAGS="-L${PREFIX}/lib"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-gtk=no
WRKSRC= ${WRKDIR}/Firewalk-${PORTVERSION}
MAN1= firewalk.1
.include <bsd.port.pre.mk>

View File

@ -1,5 +1,5 @@
--- Makefile.in.orig Fri Nov 19 06:20:56 1999
+++ Makefile.in Wed Sep 27 02:00:42 2000
--- Makefile.in.orig Sun Feb 4 05:24:09 2001
+++ Makefile.in Sat Nov 30 03:20:58 2002
@@ -7,13 +7,14 @@
# @configure_input@
@ -12,9 +12,9 @@
+LIBNET_CONFIG= $(PREFIX)/bin/libnet-config
+DEFINES += @DEFS@ `$(LIBNET_CONFIG) --defines`
CFLAGS = @CFLAGS@
-CPPFLAGS = @CPPFLAGS@
CPPFLAGS = @CPPFLAGS@
-LIBS = -lnet -lpcap @FW_GTK_CONFIG@ `libnet-config --libs`
+CPPFLAGS = -I$(PREFIX)/include @CPPFLAGS@
+LIBS = -L$(PREFIX)/lib @FW_GTK_CONFIG@ `$(LIBNET_CONFIG) --libs` -lpcap
+LIBS = @FW_GTK_CONFIG@ `$(LIBNET_CONFIG) --libs` -lpcap @LDFLAGS@
OBJECTS = main.o firewalk.o watcher.o p_cap.o signal.o \
packet.o udptcpwalk.o port_list.o util.o @FW_GTK_OBJS@