diff options
Diffstat (limited to 'x11/gdm2/Makefile')
-rw-r--r-- | x11/gdm2/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile index a65c580ce39a..4a501d414cb6 100644 --- a/x11/gdm2/Makefile +++ b/x11/gdm2/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gdm2 -PORTVERSION= 2.6.0.4 +PORTVERSION= 2.6.0.6 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.6 @@ -54,6 +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) |