Commits

Boey Maun Suang authored 345eeb5897b
packetforward: update to latest version (0.8.1).

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@48205 d073be05-634f-4543-b044-5fe20cf6d1d6
No tags

net/packetforward/files/patch-Makefile.diff

Modified
1 ---- Makefile 2007-02-23 00:00:30.000000000 +0000
2 -+++ Makefile.new 2007-06-20 15:54:01.000000000 +0000
3 -@@ -1,9 +1,11 @@
1 +--- Makefile 2008-12-19 14:29:49.000000000 +0000
2 ++++ Makefile.new 2009-03-16 13:01:30.000000000 +0000
3 +@@ -1,16 +1,18 @@
4 + # packetforward - Makefile
5 +
6 + CC = gcc
7 +-INCLUDE = -I/usr/include
8 +-LIBS = -L/usr/lib -lpcap `libnet-config --defines --cflags --libs`
9 +-INSTALL_DIR = /usr/bin
10 ++INCLUDE = -I@PREFIX@/include
11 ++LIBS = -L@PREFIX@/lib -lpcap `libnet-config --defines --cflags --libs`
12 ++INSTALL_DIR = @PREFIX@/bin
13 +
4 14 all:
5 -- gcc packetforward.c -o packetforward -I/usr/include -L/usr/lib -lpcap `libnet-config --defines --cflags --libs`
6 -+ gcc packetforward.c -o packetforward -I@PREFIX@/include -L@PREFIX@/lib -lpcap `libnet-config --defines --cflags --libs`
15 + $(CC) packetforward.c -o packetforward $(INCLUDE) $(LIBS)
7 16
8 17 install:
9 -- cp -f packetforward /usr/bin/packetforward
10 -+ cp -f packetforward $(DESTDIR)@PREFIX@/bin/packetforward
18 +- cp -f packetforward $(INSTALL_DIR)/packetforward
19 ++ cp -f packetforward $(DESTDIR)$(INSTALL_DIR)/packetforward
11 20 + install -m 755 -d $(DESTDIR)@PREFIX@/share/doc/packetforward
12 21 + install -m 644 ChangeLog LICENSE README $(DESTDIR)@PREFIX@/share/doc/packetforward
13 22
14 23 clean:
15 - rm -f /usr/bin/packetforward
24 + rm -f $(INSTALL_DIR)/packetforward
16 25 -
17 26 \ No newline at end of file
18 27 +

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut