summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-wm/windowmaker-i18n/Makefile2
-rw-r--r--x11-wm/windowmaker/Makefile2
2 files changed, 3 insertions, 1 deletions
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