summaryrefslogtreecommitdiff
path: root/x11/9box
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-04-04 07:17:52 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-04-04 07:17:52 +0000
commit691a2128c81243b12bdaabcb7b09432b1ac46307 (patch)
tree254c335dac38c8c2b7f19301aedbf0b9e54358d2 /x11/9box
parent- Fix build (diff)
- Respect CC
PR: ports/65150 Submitted by: michael johnson <ahze@ahze.net> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=106101
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 1cdb6f469ace..ac66bd541601 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 6391a9423197..68e2c34d4905 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
+