1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

- Respect CC

PR:		ports/65150
Submitted by:	michael johnson <ahze@ahze.net>
Approved by:	maintainer
This commit is contained in:
Kirill Ponomarev 2004-04-04 07:17:52 +00:00
parent fa43edfd9c
commit 691a2128c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106101
2 changed files with 3 additions and 2 deletions

View File

@ -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:

View File

@ -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
+