diff options
author | miwi <miwi@FreeBSD.org> | 2008-01-01 23:26:33 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-01-01 23:26:33 +0800 |
commit | 947dfab219193fc9b118684656aa557b16a1b95e (patch) | |
tree | cecfec72665c7c538dfd3549d1d8d94598d79864 /x11 | |
parent | 896105d2573e5018e1b1d492a0db92e962683bd6 (diff) | |
download | freebsd-ports-gnome-947dfab219193fc9b118684656aa557b16a1b95e.tar.gz freebsd-ports-gnome-947dfab219193fc9b118684656aa557b16a1b95e.tar.zst freebsd-ports-gnome-947dfab219193fc9b118684656aa557b16a1b95e.zip |
- Add missing patch
PR: 119116
Submitted by: gregory delfly <gregoryd.freebsd@free.fr>
pointyhat via pav
Approved by: maintainer
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gtk-theme-switch2/files/patch-Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/x11/gtk-theme-switch2/files/patch-Makefile b/x11/gtk-theme-switch2/files/patch-Makefile new file mode 100644 index 000000000000..1f819ef5a513 --- /dev/null +++ b/x11/gtk-theme-switch2/files/patch-Makefile @@ -0,0 +1,34 @@ +--- Makefile.orig Wed Jun 11 01:16:36 2003 ++++ Makefile Mon Dec 17 23:11:09 2007 +@@ -1,13 +1,13 @@ +-GCC = cc +-PREFIX=/usr/local +-CFLAGS = -O2 -Wall $(shell pkg-config --cflags gtk+-2.0) +-LIBS = $(shell pkg-config --libs gtk+-2.0) +-CFLAGS += -DGTK_DISABLE_BROKEN -DGTK_DISABLE_DEPRECATED ++GCC = ${CC} ++PREFIX ?= /usr/local ++CFLAGS += -Wall $(shell pkg-config --cflags gtk+-2.0) ++LIBS += $(shell pkg-config --libs gtk+-2.0) ++CFLAGS += -DGTK_DISABLE_BROKEN + + VERSION = 2.0.0rc2 +-all: switch ++all: switch2 + +-switch: switch.c switch.h ++switch2: switch.c switch.h + ${GCC} -o switch2 switch.c ${CFLAGS} ${LIBS} + + clean: +@@ -17,8 +17,8 @@ + strip switch2 + mkdir -p ${PREFIX}/bin + mkdir -p ${PREFIX}/man +- install -c switch2 ${PREFIX}/bin +- install -c switch.1 ${PREFIX}/man ++ install -c -m 555 switch2 ${PREFIX}/bin ++ install -c -m 444 switch.1 ${PREFIX}/man/man1/switch2.1 + + dist: clean + rm -rf /tmp/gtk-theme-switch-$(VERSION) |