- Respect X11BASE

Reported by:	pointyhat
This commit is contained in:
Rong-En Fan 2006-12-11 14:42:27 +00:00
parent 690a31e270
commit 35728b5eef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179496

View File

@ -27,8 +27,8 @@ pre-patch:
post-patch:
@cd ${WRKSRC}/code && ${GMAKE} clean
@${REINPLACE_CMD} -e 's|sdl-config|\${SDL_CONFIG}|g ; \
s|/usr/X11/|${X11BASE}/|g ; s|CC=|#CC=|g; \
@${REINPLACE_CMD} -E 's|sdl-config|\${SDL_CONFIG}|g ; \
s|/usr/X11(R6)?/|${X11BASE}/|g ; s|CC=|#CC=|g; \
s|-O3|${CFLAGS}|g; s|-ffast-math||g' ${WRKSRC}/code/Makefile
do-build: