- Respect ${CC} and ${CFLAGS}
PR: ports/65047 Submitted by: michael johnson <ahze@ahze.net>
This commit is contained in:
parent
f11cf33459
commit
3f70845465
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105912
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user