summaryrefslogtreecommitdiffstats
path: root/x11/9box
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-04 07:17:52 +0000
committerkrion <krion@FreeBSD.org>2004-04-04 07:17:52 +0000
commit9b16352df4d7ec57c1e37d038cb264b479679f50 (patch)
treef9379bb049d79b3abd1ac582f24f2e3bc2d13483 /x11/9box
parent04fe6f6768e9738261aaae277ae624079acfa175 (diff)
downloadFreeBSD-ports-9b16352df4d7ec57c1e37d038cb264b479679f50.zip
FreeBSD-ports-9b16352df4d7ec57c1e37d038cb264b479679f50.tar.gz
- Respect CC
PR: ports/65150 Submitted by: michael johnson <ahze@ahze.net> Approved by: maintainer
Diffstat (limited to 'x11/9box')
-rw-r--r--x11/9box/Makefile3
-rw-r--r--x11/9box/files/patch-src::Makefile2
2 files changed, 3 insertions, 2 deletions
diff --git a/x11/9box/Makefile b/x11/9box/Makefile
index 1cdb6f4..ac66bd5 100644
--- a/x11/9box/Makefile
+++ b/x11/9box/Makefile
@@ -24,7 +24,8 @@ USE_GMAKE= yes
BUILD_WRKSRC= ${WRKSRC}/src
post-patch:
- @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
+ @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g; \
+ s|%%CC%%|${CC}|g' \
${WRKSRC}/src/Makefile
do-install:
diff --git a/x11/9box/files/patch-src::Makefile b/x11/9box/files/patch-src::Makefile
index 6391a94..68e2c34 100644
--- a/x11/9box/files/patch-src::Makefile
+++ b/x11/9box/files/patch-src::Makefile
@@ -1,7 +1,7 @@
--- src/Makefile.orig Tue Oct 29 17:20:46 2002
+++ src/Makefile Wed Jul 23 21:35:39 2003
@@ -1,10 +1,14 @@
-+CC?= cc
++CC= %%CC%%
+CFLAGS+= -g -I. -I%%X11BASE%%/include
+LIBS+= -L%%X11BASE%%/lib -lX11
+
OpenPOWER on IntegriCloud