Forget about X11BASE

This commit is contained in:
Emanuel Haupt 2007-06-02 15:44:10 +00:00
parent 5d0048e5b4
commit 5695677cb5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192589
2 changed files with 5 additions and 3 deletions

View file

@ -54,8 +54,10 @@ post-patch: gbsplay-post-patch
@${REINPLACE_CMD} -e \
's|/usr/local/include|${LOCALBASE}/include|; \
s|/usr/local/lib|${LOCALBASE}/lib|; \
s|/usr/X11R6/include|${X11BASE}/include|; \
s|/usr/X11R6/lib|${X11BASE}/lib|; \
s|/usr/X11R6/include||; \
s|/usr/X11R6/lib||; \
s|/usr/X11/lib|${LOCALBASE}/lib|; \
s|/usr/lib/X11|${LOCALBASE}/lib/X11|; \
s|-Os||; s|-pipe||; s|-fomit-frame-pointer||; \
s|-march=$$ARCH||' ${WRKSRC}/configure

View file

@ -31,7 +31,7 @@ post-extract:
gbsplay-post-patch:
@${REINPLACE_CMD} -e \
's|`which xmms-config`||; \
s|\(xmms-config\)|${X11BASE}/bin/\1|g; \
s|\(xmms-config\)|${LOCALBASE}/bin/\1|g; \
s|`which glib-config`||; \
s|glib-config|${GLIB_CONFIG}|g; \
/LOCALE_PREFIX/ s|$$localedir|${LOCALBASE}/share/locale|' \