From 2ec7f5a9289dffdf4ea3d30a590d4860abcbe881 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Sat, 16 Jun 2001 09:42:25 +0000 Subject: Try harder to avoid hardcoded /usr/local/GNUstep in localised menus. Submitted by: Patrick Li --- x11-wm/windowmaker-i18n/Makefile | 2 ++ x11-wm/windowmaker/Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/x11-wm/windowmaker-i18n/Makefile b/x11-wm/windowmaker-i18n/Makefile index 2db39b2eec53..3fcd2c9ba3dc 100644 --- a/x11-wm/windowmaker-i18n/Makefile +++ b/x11-wm/windowmaker-i18n/Makefile @@ -71,6 +71,8 @@ pre-extract: post-patch: @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c @${PERL} -pi -e "s|%%PERL%%|${PERL}|g" ${WRKSRC}/util/wm-oldmenu2new + @${PERL} -pi -e "s|/usr/local/GNUstep|${PREFIX}/GNUstep|g" \ + ${WRKSRC}/WindowMaker/*menu* .if defined(JA_CATALOGFILE) && ${JA_CATALOGFILE} != "" @${CP} ${WRKDIR}/${JA_CATALOGFILE}/WindowMaker.ja.po \ ${WRKSRC}/po/ja.po diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile index b8b1525e1c13..eeecd6c94b51 100644 --- a/x11-wm/windowmaker/Makefile +++ b/x11-wm/windowmaker/Makefile @@ -65,7 +65,7 @@ post-patch: @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c @${PERL} -pi -e "s|%%PERL%%|${PERL}|g" ${WRKSRC}/util/wm-oldmenu2new @${PERL} -pi -e "s|/usr/local/GNUstep|${PREFIX}/GNUstep|g" \ - ${WRKSRC}/WindowMaker/menu* + ${WRKSRC}/WindowMaker/*menu* post-install: @${MKDIR} ${PREFIX}/share/WindowMaker/Sounds -- cgit v1.2.3