1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/x11/gtk-theme-switch/files/patch-aa
2000-09-14 07:17:08 +00:00

26 lines
740 B
Plaintext

--- Makefile.orig Wed Aug 30 09:35:43 2000
+++ Makefile Thu Sep 14 09:54:48 2000
@@ -1,7 +1,7 @@
-GCC = gcc
-PREFIX=/usr/local
-CFLAGS = -I/usr/lib/glib/include -I/usr/X11R6/include
-LIBS = -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
+GCC = ${CC}
+PREFIX?=/usr/local
+CFLAGS += `${X11BASE}/bin/gtk12-config --cflags`
+LIBS = `${X11BASE}/bin/gtk12-config --libs`
VERSION = 0.4
all : gthemeswitch
@@ -12,8 +12,8 @@
-rm gthemeswitch *~
install: all
- install -c gthemeswitch ${PREFIX}/bin
- install -c switch ${PREFIX}/bin
+ ${BSD_INSTALL_PROGRAM} gthemeswitch ${PREFIX}/bin
+ ${BSD_INSTALL_SCRIPT} switch ${PREFIX}/bin
dist: clean
rm -rf /tmp/gtk-theme-switch-$(VERSION)