ports/110538: [patch] ports/palm/coldsync does support WITHOUT_NLS
Helge Oldach
ports-coldsync-mar07 at oldach.net
Mon Mar 19 20:30:05 UTC 2007
>Number: 110538
>Category: ports
>Synopsis: [patch] ports/palm/coldsync does support WITHOUT_NLS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 19 20:30:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Helge Oldach
>Release: FreeBSD 6.2-757 i386
>Organization:
>Environment:
System: FreeBSD localhost 6.2-757 FreeBSD 6.2-757 #0: Thu Mar 15 20:35:30 CET 2007 toor at localhost:/usr/obj/usr/src/sys/HMO i386
>Description:
ports/palm/coldsync does support building without NLS support, using our
standard WITHOUT_NLS knob. The trivial patch below implements this.
>How-To-Repeat:
>Fix:
--- ./Makefile.ctm Tue Aug 15 16:47:46 2006
+++ ./Makefile Mon Mar 19 21:11:50 2007
@@ -14,7 +14,15 @@
MAINTAINER= arensb+freebsd-ports at ooblick.com
COMMENT= Synchronize a PalmPilot with a Unix workstation
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --without-i18n
+PLIST_SUB+= NLS="@comment "
+.else
+CONFIGURE_ARGS+= --with-i18n
USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
+
REINPLACE_ARGS= -i "" -E
USE_LDCONFIG= yes
@@ -47,7 +55,7 @@
.include <bsd.port.pre.mk>
CFLAGS+= -D__BSD_VISIBLE=1
-CONFIGURE_ARGS+= --with-i18n --disable-pedantic --without-perl
+CONFIGURE_ARGS+= --disable-pedantic --without-perl
# I don't know how to test for a version of {Net,Open}BSD that supports USB.
.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 400000
--- ./pkg-plist.ctm Tue Aug 8 00:47:02 2006
+++ ./pkg-plist Mon Mar 19 21:12:33 2007
@@ -6,10 +6,10 @@
lib/libpdb.a
lib/libpdb.so
lib/libpdb.so.0
-share/locale/cs/LC_MESSAGES/coldsync.mo
-share/locale/de/LC_MESSAGES/coldsync.mo
-share/locale/fr/LC_MESSAGES/coldsync.mo
-share/locale/it/LC_MESSAGES/coldsync.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/coldsync.mo
+%%NLS%%share/locale/de/LC_MESSAGES/coldsync.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/coldsync.mo
+%%NLS%%share/locale/it/LC_MESSAGES/coldsync.mo
include/palm.h
include/pdb.h
include/pconn/util.h
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list