summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/gdm2/Makefile2
-rw-r--r--x11/gnome-panel/Makefile2
-rw-r--r--x11/gnomepanel/Makefile2
3 files changed, 6 insertions, 0 deletions
diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile
index a14d0f9ba..4a501d414 100644
--- a/x11/gdm2/Makefile
+++ b/x11/gdm2/Makefile
@@ -54,9 +54,11 @@ post-extract:
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e 's|[(]datadir[)]/icons/hicolor|(prefix)/share/icons/hicolor|g'
+.if ${OSVERSION} < 600006
.for po in zh_CN.po
@${REINPLACE_CMD} -e 's|%-|%|g' ${WRKSRC}/po/${po}
.endfor
+.endif
post-install:
.if !defined(PACKAGE_BUILDING)
diff --git a/x11/gnome-panel/Makefile b/x11/gnome-panel/Makefile
index 1f6257711..064ce43d2 100644
--- a/x11/gnome-panel/Makefile
+++ b/x11/gnome-panel/Makefile
@@ -53,9 +53,11 @@ CONFIGURE_ARGS+=--enable-eds
CONFIGURE_ARGS+=--disable-eds
.endif
+.if ${OSVERSION} < 600006
post-patch:
.for po in da.po it.po zh_CN.po zh_TW.po
@${REINPLACE_CMD} -e 's|%-|%|g' ${WRKSRC}/po/${po}
.endfor
+.endif
.include <bsd.port.post.mk>
diff --git a/x11/gnomepanel/Makefile b/x11/gnomepanel/Makefile
index 1f6257711..064ce43d2 100644
--- a/x11/gnomepanel/Makefile
+++ b/x11/gnomepanel/Makefile
@@ -53,9 +53,11 @@ CONFIGURE_ARGS+=--enable-eds
CONFIGURE_ARGS+=--disable-eds
.endif
+.if ${OSVERSION} < 600006
post-patch:
.for po in da.po it.po zh_CN.po zh_TW.po
@${REINPLACE_CMD} -e 's|%-|%|g' ${WRKSRC}/po/${po}
.endfor
+.endif
.include <bsd.port.post.mk>