- Respect ${CC} and ${CFLAGS}

PR:		ports/65047
Submitted by:	michael johnson <ahze@ahze.net>
This commit is contained in:
Pav Lucistnik 2004-04-01 21:42:02 +00:00
parent f11cf33459
commit 3f70845465
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105912

View File

@ -19,7 +19,13 @@ USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GL= yes
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ENV= CC="${CC}"
post-patch:
${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|' \
${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/glewinfo ${PREFIX}/bin