1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Respect X11BASE.

Approved by:	flz (mentor)
Reported By:	pointyhat
This commit is contained in:
Frank J. Laszlo 2006-11-30 23:27:04 +00:00
parent 1f9565a383
commit a959b841d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178394

View File

@ -28,6 +28,11 @@ ONLY_FOR_ARCHS= i386
# Glide DOES NOT work with CFLAGS greater than -O2
CFLAGS+= -O
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/configure.in
@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/h3/glide3/src/Makefile.am
@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/h5/glide3/src/Makefile.am
pre-configure:
@cd $(WRKSRC) && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal
@${REINPLACE_CMD} -e '/^_LT_AC_SHELL_INIT/d' ${WRKSRC}/aclocal.m4