From daa69de825133d0dcedf52467823f187df81bd08 Mon Sep 17 00:00:00 2001 From: ijliao Date: Sun, 22 Dec 2002 17:10:31 +0000 Subject: - Fix MASTER_SITES - Support LOCALBASE properly PR: 45862 Submitted by: Ports Fury --- security/firewalk/Makefile | 9 +++++---- security/firewalk/files/patch-aa | 10 +++++----- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'security') diff --git a/security/firewalk/Makefile b/security/firewalk/Makefile index a5543a6511f5..ea11eb7ceda9 100644 --- a/security/firewalk/Makefile +++ b/security/firewalk/Makefile @@ -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 diff --git a/security/firewalk/files/patch-aa b/security/firewalk/files/patch-aa index 84ed11b2eead..ec72ada12dc4 100644 --- a/security/firewalk/files/patch-aa +++ b/security/firewalk/files/patch-aa @@ -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@ + -- cgit