aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-06-25 07:45:34 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-06-25 07:45:34 +0000
commit0d2b9960bafb0e88b5a672dc3360cf2bcf8a8038 (patch)
tree8d114c097d3c730e40eca1dfa8b5133b50ce187c /x11
parentf3012dcd6c2f31fc5b089936a3eb53f8580a111f (diff)
downloadports-0d2b9960bafb0e88b5a672dc3360cf2bcf8a8038.tar.gz
ports-0d2b9960bafb0e88b5a672dc3360cf2bcf8a8038.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/trayer/files/patch-Makefile.common15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/trayer/files/patch-Makefile.common b/x11/trayer/files/patch-Makefile.common
new file mode 100644
index 000000000000..88533336699d
--- /dev/null
+++ b/x11/trayer/files/patch-Makefile.common
@@ -0,0 +1,15 @@
+--- Makefile.common.orig 2011-06-21 15:12:50.942593801 +0200
++++ Makefile.common 2011-06-21 15:14:03.806674177 +0200
+@@ -15,10 +15,10 @@
+ endif
+ endif
+
+-CC = gcc
++CC ?= gcc
+ LIBS = $(shell pkg-config --libs gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -L/usr/X11R6/lib -lXmu
+ INCS = $(shell pkg-config --cflags gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0)
+-CFLAGS = -O2 # overwriten by command line or env. variable
++CFLAGS ?= -O2 # overwriten by command line or env. variable
+ CFLAGS += -Wall # always nice to have
+ ifneq (,$(DEVEL))
+ CFLAGS := -g -Wall