head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1;
locks; strict;
comment	@# @;


1.1
date	2007.01.31.14.09.54;	author pav;	state Exp;
branches;
next	;


desc
@@


1.1
log
@- Patch net/libnet* to versioned libraries and header files, so they can
  coexist

PR:		ports/103861
Submitted by:	alepulver
Tested by:	pointyhat
With hat:	portmgr
@
text
@--- ./Makefile.orig	Thu Apr  7 06:33:45 2005
+++ ./Makefile	Wed Sep 27 22:46:49 2006
@@@@ -1,6 +1,6 @@@@
 all:
-	cc -o sasp sasp.c -L/usr/local/lib -I/usr/local/include -lpcap -lnet
+	${CC} `${LIBNET_CONFIG} --cflags` -o sasp sasp.c -lpcap `${LIBNET_CONFIG} --libs`
 install:
-	install -o root -m 555 sasp /usr/local/sbin
+	${BSD_INSTALL_PROGRAM} sasp ${PREFIX}/sbin
 clean:
 	rm -rf *.o
@
