From e68ab0e6788bc720a66cb7d3a691c091fda11594 Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 7 Nov 2004 20:43:28 +0000 Subject: Don't do the strftime hack if we are on a sufficiently recent -CURRENT. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3041 df743ca5-7f9a-e211-a948-0013205c9059 --- x11/gdm2/Makefile | 2 ++ x11/gnome-panel/Makefile | 2 ++ x11/gnomepanel/Makefile | 2 ++ 3 files changed, 6 insertions(+) (limited to 'x11') 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 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 -- cgit v1.2.3