aboutsummaryrefslogtreecommitdiffstats
path: root/security/qtfw/files
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-08-29 19:29:30 +0800
committerijliao <ijliao@FreeBSD.org>2001-08-29 19:29:30 +0800
commita9aa977455a689e0fc563b469fde52996c3582d7 (patch)
tree307ec75ba71af98a6f37f4603fe08d2db9672486 /security/qtfw/files
parentd20c5ab5d0f1381ec36bd57c29893fc77d5a2063 (diff)
downloadfreebsd-ports-gnome-a9aa977455a689e0fc563b469fde52996c3582d7.tar.gz
freebsd-ports-gnome-a9aa977455a689e0fc563b469fde52996c3582d7.tar.zst
freebsd-ports-gnome-a9aa977455a689e0fc563b469fde52996c3582d7.zip
add qtfw
A GUI frontend for ipfw utility in FreeBSD PR: 30077 Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'security/qtfw/files')
-rw-r--r--security/qtfw/files/patch-Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/security/qtfw/files/patch-Makefile b/security/qtfw/files/patch-Makefile
new file mode 100644
index 000000000000..e230c41c01e5
--- /dev/null
+++ b/security/qtfw/files/patch-Makefile
@@ -0,0 +1,39 @@
+--- Makefile.orig Fri Aug 24 12:17:26 2001
++++ Makefile Sat Aug 25 10:49:38 2001
+@@ -7,18 +7,18 @@
+ aboutdlg.cpp moc_aboutdlg.cpp
+ OBJS=$(SOURCES:.cpp=.o)
+
+-CFLAGS=-g -Wall -I/usr/X11R6/include/qt2
+-LDFLAGS=-L/usr/X11R6/lib -lqt2
++CFLAGS=-g -Wall -I${X11BASE}/include/qt2
++LDFLAGS=-L${X11BASE}/lib -lqt2
+
+-INSTALL_PREFIX=/usr/X11R6
++INSTALL_PREFIX=${PREFIX}
+ HTMLS:=`echo docs/*.html`
+ EXAMPLES:=`echo examples/*.html`
+
+ $(TARGET):$(OBJS)
+- g++ $(LDFLAGS) -o $(TARGET) $(OBJS)
++ ${CXX} $(LDFLAGS) -o $(TARGET) $(OBJS)
+
+ .cpp.o:
+- g++ $(CFLAGS) -c $<
++ ${CXX} $(CFLAGS) -c $<
+
+ moc_mainformbase.cpp : mainformbase.H
+ moc2 mainformbase.H > moc_mainformbase.cpp
+@@ -57,11 +57,7 @@
+ rm -f moc_*
+
+ install: $(TARGET)
+- install -c $(TARGET) $(INSTALL_PREFIX)/bin/
+- install -d $(INSTALL_PREFIX)/share/$(TARGET)/docs/
+- install -d $(INSTALL_PREFIX)/share/$(TARGET)/examples/
+- cp -R docs/ $(INSTALL_PREFIX)/share/$(TARGET)/docs/
+- cp -R examples/ $(INSTALL_PREFIX)/share/$(TARGET)/examples/
++ ${BSD_INSTALL_PROGRAM} $(TARGET) $(INSTALL_PREFIX)/bin
+
+ uninstall:
+ rm -f $(INSTALL_PREFIX)/bin/$(TARGET)