aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/gdm/Makefile3
-rw-r--r--x11/gnome-panel/Makefile3
-rw-r--r--x11/gnomepanel/Makefile3
3 files changed, 6 insertions, 3 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 3e396b5c4636..2e7c70fd63e5 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -53,7 +53,8 @@ post-extract:
${FILESDIR}/gdm.sh.sample > ${WRKSRC}/gdm.sh.sample
post-patch:
-.if ${OSVERSION} < 600006
+.if ( ${OSVERSION} > 600000 && ${OSVERSION} < 600006 ) || \
+ ( ${OSVERSION} < 503101 )
.for po in zh_CN.po
@${REINPLACE_CMD} -e 's|%-|%|g' ${WRKSRC}/po/${po}
.endfor
diff --git a/x11/gnome-panel/Makefile b/x11/gnome-panel/Makefile
index a83b67a59fb0..d28b9bf69171 100644
--- a/x11/gnome-panel/Makefile
+++ b/x11/gnome-panel/Makefile
@@ -53,7 +53,8 @@ CONFIGURE_ARGS+=--enable-eds
CONFIGURE_ARGS+=--disable-eds
.endif
-.if ${OSVERSION} < 600006
+.if ( ${OSVERSION} > 600000 && ${OSVERSION} < 600006 ) || \
+ ( ${OSVERSION} < 503101 )
post-patch:
.for po in da.po it.po zh_CN.po zh_TW.po
@${REINPLACE_CMD} -e 's|%-|%|g' ${WRKSRC}/po/${po}
diff --git a/x11/gnomepanel/Makefile b/x11/gnomepanel/Makefile
index a83b67a59fb0..d28b9bf69171 100644
--- a/x11/gnomepanel/Makefile
+++ b/x11/gnomepanel/Makefile
@@ -53,7 +53,8 @@ CONFIGURE_ARGS+=--enable-eds
CONFIGURE_ARGS+=--disable-eds
.endif
-.if ${OSVERSION} < 600006
+.if ( ${OSVERSION} > 600000 && ${OSVERSION} < 600006 ) || \
+ ( ${OSVERSION} < 503101 )
post-patch:
.for po in da.po it.po zh_CN.po zh_TW.po
@${REINPLACE_CMD} -e 's|%-|%|g' ${WRKSRC}/po/${po}