Date: Fri, 6 Apr 2007 19:58:50 +0200 (CEST) From: ports-neon-sitecopy-mar07@oldach.net (Helge Oldach) To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Cc: olgeni@FreeBSD.org Subject: Re: ports/110533: [patch] WITHOUT_NLS support for www/neon and www/sitecopy Message-ID: <200704061758.l36HwoXo013297@sep.oldach.net> In-Reply-To: <200703191950.l2JJo2QJ033744@freefall.freebsd.org> from "FreeBSD-gnats-submit@FreeBSD.org" at "Mar 19, 2007 7:50: 2 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, my patch for ports/www/sitecopy is not correct. Please see below for a corrected patch. Helge --- Makefile.ctm Sat Mar 17 04:43:50 2007 +++ Makefile Fri Apr 6 19:51:15 2007 @@ -19,13 +19,20 @@ LIB_DEPENDS= neon.26:${PORTSDIR}/www/neon GNU_CONFIGURE= yes -CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib -lintl" +CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" CONFIGURE_ARGS= --with-neon --with-libxml2 -USE_GETTEXT= yes USE_GNOME= libxml2 USE_GETOPT_LONG= yes USE_GMAKE= yes + +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.else +CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -lintl" +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.endif .ifndef WITHOUT_SSL USE_OPENSSL= yes --- pkg-plist.ctm Thu Oct 20 16:40:44 2005 +++ pkg-plist Mon Mar 19 20:29:30 2007 @@ -3,14 +3,14 @@ %%DOCSDIR%%/README %%DOCSDIR%%/THANKS %%DOCSDIR%%/update.sh -share/locale/cs/LC_MESSAGES/sitecopy.mo -share/locale/de/LC_MESSAGES/sitecopy.mo -share/locale/fr/LC_MESSAGES/sitecopy.mo -share/locale/it/LC_MESSAGES/sitecopy.mo -share/locale/ja/LC_MESSAGES/sitecopy.mo -share/locale/nn/LC_MESSAGES/sitecopy.mo -share/locale/ru/LC_MESSAGES/sitecopy.mo -share/locale/tr/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/cs/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/de/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/fr/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/it/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/ja/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/nn/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/ru/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/tr/LC_MESSAGES/sitecopy.mo %%DATADIR%%/changes.awk %%DATADIR%%/examplerc @dirrm share/sitecopy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704061758.l36HwoXo013297>