diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 2002-09-18 11:19:32 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 2002-09-18 11:19:32 +0000 |
commit | 18393e7390afc11d7f37dc6f2dc26be391ddb8d8 (patch) | |
tree | 138264a55e192c9b31c5cfd96789d72862ec8374 /lang/icon | |
parent | b52a2cb357153e65635662929c47ff215076392e (diff) | |
download | ports-18393e7390afc11d7f37dc6f2dc26be391ddb8d8.tar.gz ports-18393e7390afc11d7f37dc6f2dc26be391ddb8d8.zip |
Notes
Diffstat (limited to 'lang/icon')
-rw-r--r-- | lang/icon/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lang/icon/Makefile b/lang/icon/Makefile index 029587f7f0a1..b25b2ac2f3e0 100644 --- a/lang/icon/Makefile +++ b/lang/icon/Makefile @@ -17,13 +17,11 @@ MAINTAINER= ports@FreeBSD.org ONLY_FOR_ARCHS= alpha i386 .ifdef WITHOUT_X11 -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" CONFIG_CMD= Configure PLIST_SUB= WITHOUT_X11="@comment " .else USE_XLIB= yes -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${X11BASE}/include" \ - XLIBS="-L${X11BASE}/lib -lX11" +CFLAGS+= -I${X11BASE}/include CONFIG_CMD= X-Configure PLIST_SUB= WITHOUT_X11= .endif @@ -36,9 +34,10 @@ ARCH_NAME= ${ARCH:S/i386/intel/}_${OPSYS:L} ICONDIR= ${PREFIX}/lib/${PORTNAME} pre-patch: - @${REINPLACE_CMD} -e 's|^CC|#CC|g ; \ - s|^CFLAGS|#CFLAGS|g ; \ - s|^XLIBS|#XLIBS|g' ${WRKSRC}/config/unix/${ARCH_NAME}/Makedefs + @${REINPLACE_CMD} -e "s|^CC.*|CC=${CC}|g ; \ + s|^CFLAGS.*|CFLAGS=${CFLAGS}|g ; \ + s|^XLIBS.*|XLIBS=-L${X11BASE}/lib -lX11|g" \ + ${WRKSRC}/config/unix/${ARCH_NAME}/Makedefs @${REINPLACE_CMD} -e 's|/opt/icon|${ICONDIR}|g' ${WRKSRC}/ipl/BuildBin do-configure: |