summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/gnome-panel/Makefile3
-rw-r--r--x11/gnomepanel/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/x11/gnome-panel/Makefile b/x11/gnome-panel/Makefile
index 53b1309c0..c7ea13450 100644
--- a/x11/gnome-panel/Makefile
+++ b/x11/gnome-panel/Makefile
@@ -57,7 +57,8 @@ CONFIGURE_ARGS+=--disable-eds
post-patch:
@${REINPLACE_CMD} -e 's|@DATADIR@/|@DATADIR@/applications/|g' \
${WRKSRC}/gnome-panel/panel-default-setup.entries.in
-.if ${OSVERSION} < 600006
+.if ( ${OSVERSION} > 600000 && ${OSVERSION} < 600006 ) || \
+ ( ${OSVERSION} < 503101 )
.for po in da.po it.po zh_CN.po zh_TW.po
@${REINPLACE_CMD} -e 's|%-|%|g' ${WRKSRC}/po/${po}
.endfor
diff --git a/x11/gnomepanel/Makefile b/x11/gnomepanel/Makefile
index 53b1309c0..c7ea13450 100644
--- a/x11/gnomepanel/Makefile
+++ b/x11/gnomepanel/Makefile
@@ -57,7 +57,8 @@ CONFIGURE_ARGS+=--disable-eds
post-patch:
@${REINPLACE_CMD} -e 's|@DATADIR@/|@DATADIR@/applications/|g' \
${WRKSRC}/gnome-panel/panel-default-setup.entries.in
-.if ${OSVERSION} < 600006
+.if ( ${OSVERSION} > 600000 && ${OSVERSION} < 600006 ) || \
+ ( ${OSVERSION} < 503101 )
.for po in da.po it.po zh_CN.po zh_TW.po
@${REINPLACE_CMD} -e 's|%-|%|g' ${WRKSRC}/po/${po}
.endfor