summaryrefslogtreecommitdiff
path: root/net/dhcprelay/files/patch-Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-11-15 11:26:44 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-11-15 11:26:44 +0000
commitaba6b27e0f0717eca38a4ed550ba1f0e6dbb3f10 (patch)
treef25c02e0f2ddd6438cfa23d77f870f14815c006a /net/dhcprelay/files/patch-Makefile
parentFix build on FreeBSD 6 and above. (diff)
Add net/dhcprelay, a DHCP Relay Agent.
See the pkg-descr for reasoning why I had to make this one. WWW: http://www.mavetju.org/networking/ Author: Edwin Groothuis <edwin@mavetju.org>
Notes
Notes: svn path=/head/; revision=148362
Diffstat (limited to 'net/dhcprelay/files/patch-Makefile')
-rw-r--r--net/dhcprelay/files/patch-Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/dhcprelay/files/patch-Makefile b/net/dhcprelay/files/patch-Makefile
new file mode 100644
index 000000000000..386be9f2f16b
--- /dev/null
+++ b/net/dhcprelay/files/patch-Makefile
@@ -0,0 +1,15 @@
+--- Makefile.orig Tue Nov 15 18:25:30 2005
++++ Makefile Tue Nov 15 18:25:59 2005
+@@ -1,8 +1,10 @@
++all: dhcprelay
++
+ dhcprelay: dhcprelay.o
+- gcc -g -o $@ -Wall -L/usr/local/lib -lpcap -ldnet $>
++ gcc -g -o $@ -Wall -L${LOCALBASE}/lib -lpcap -ldnet $>
+
+ dhcprelay.o: dhcprelay.c
+- gcc -g -c -o $@ -Wall -I/usr/local/include $<
++ gcc -g -c -o $@ -Wall -I${LOCALBASE}/include $<
+
+ clean:
+ rm -f dhcprelay.o dhcprelay dhcprelay.core