Both ports/www/neon and ports/www/sitecopy do support building without NLS, using our standard WITHOUT_NLS knob which essentially emits a --disable-nls configure option. The trivial patch below implements both. Tested & works.
Responsible Changed From-To: freebsd-ports-bugs->lev Over to maintainer
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
Responsible Changed From-To: lev->olegni Over to maintainer of www/sitecopy. www/neon was patched.
Responsible Changed From-To: olegni->olgeni Correct assignment
mezz 2010-08-01 19:32:14 UTC FreeBSD ports repository Modified files: www/sitecopy Makefile pkg-plist Log: -Add WITHOUT_NLS support. [1] -Reduce the COMMENT to under 70 characters, silent the portlint. PR: ports/110533 [1] Submitted by: Helge Oldach <ports-neon-sitecopy-mar07@oldach.net> [1] Approved by: maintainer timeout (3 years, 19 Mar 2007) Reminded by: Helge Oldach <ports-neon-sitecopy-mar07@oldach.net> Revision Changes Path 1.53 +12 -3 ports/www/sitecopy/Makefile 1.15 +8 -8 ports/www/sitecopy/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks!
Responsible Changed From-To: olgeni->mezz me