aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-11-25 06:37:10 +0800
committermiwi <miwi@FreeBSD.org>2006-11-25 06:37:10 +0800
commit14f2d3bfcb9ca1e38542a0230202d87333a01e11 (patch)
treeff509cadcc5b874471bf15de9fb63e0b1e035193
parentcba36774b099ac05f7fcc776ceae579dd92eaf50 (diff)
downloadfreebsd-ports-gnome-14f2d3bfcb9ca1e38542a0230202d87333a01e11.tar.gz
freebsd-ports-gnome-14f2d3bfcb9ca1e38542a0230202d87333a01e11.tar.zst
freebsd-ports-gnome-14f2d3bfcb9ca1e38542a0230202d87333a01e11.zip
- Respect X11BASE
PR: 105824 Submitted by: trasz
-rw-r--r--sysutils/wmpccard/files/patch-Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/wmpccard/files/patch-Makefile b/sysutils/wmpccard/files/patch-Makefile
new file mode 100644
index 000000000000..396d76c835aa
--- /dev/null
+++ b/sysutils/wmpccard/files/patch-Makefile
@@ -0,0 +1,26 @@
+--- Makefile.orig Fri Nov 24 16:52:07 2006
++++ Makefile Fri Nov 24 16:53:46 2006
+@@ -26,18 +26,18 @@
+ PACKAGE = wmpccard
+ VERSION = 1.3
+
+-PREFIX = /usr/X11R6
++#PREFIX = /usr/X11R6
+ BINDIR = ${PREFIX}/bin
+ SYSCONFDIR = /etc
+ MANDIR = ${PREFIX}/man
+ MAN1DIR = ${MANDIR}/man1
+
+-X11INCLUDES = -I${PREFIX}/include
+-X11LDFLAGS = -L${PREFIX}/lib
++X11INCLUDES = -I${X11BASE}/include
++X11LDFLAGS = -L${X11BASE}/lib
+ X11LIBS = -lXext -lX11 -lXpm
+
+-CC = cc
+-CFLAGS = -I. ${X11INCLUDES} -O
++#CC = cc
++CFLAGS += -I. ${X11INCLUDES} -O
+ LDFLAGS = ${X11LDFLAGS} ${X11LIBS}
+
+ INSTALL = install -c