forked from Lainports/freebsd-ports
- Add missing patch
PR: 119116 Submitted by: gregory delfly <gregoryd.freebsd@free.fr> pointyhat via pav Approved by: maintainer
This commit is contained in:
parent
e1cdf136ca
commit
bdbc57bfa1
1 changed files with 34 additions and 0 deletions
34
x11/gtk-theme-switch2/files/patch-Makefile
Normal file
34
x11/gtk-theme-switch2/files/patch-Makefile
Normal file
|
|
@ -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)
|
||||
Loading…
Add table
Reference in a new issue