- Fix build when CC contains slashes

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-11-10 14:47:34 +00:00
parent dcd264024d
commit 2f885f9288
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401192

View file

@ -24,7 +24,7 @@ PLIST_FILES= include/alpng.h \
lib/libalpng.a
do-configure:
@${REINPLACE_CMD} -e "s/gcc/${CC}/g" ${WRKSRC}/makefile
@${REINPLACE_CMD} -e "s|gcc|${CC}|g" ${WRKSRC}/makefile
do-install:
${INSTALL_DATA} ${WRKSRC}/libalpng.a ${STAGEDIR}${PREFIX}/lib/