1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix build without gcc.

This commit is contained in:
Adam Weinberger 2014-08-04 18:33:14 +00:00
parent 86d7cda805
commit 9bcb3eb179
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364036

View File

@ -20,7 +20,8 @@ WRKSRC= ${WRKDIR}/vnc_reflector
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|; \
s|gcc|${CC}|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin