Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2004 01:00:21 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/64854: Update port: devel/id-utils
Message-ID:  <20040329010021.27bc39c7.tkato@prontomail.com>
Resent-Message-ID: <200403281610.i2SGAJTD075424@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         64854
>Category:       ports
>Synopsis:       Update port: devel/id-utils
>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:   Sun Mar 28 08:10:19 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Support WITHOUT_NLS
- Support INFO
- Remove unnecessary BUILD_DEPENDS

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/id-utils/Makefile devel/id-utils/Makefile
--- /usr/ports/devel/id-utils/Makefile	Wed Feb  4 18:56:55 2004
+++ devel/id-utils/Makefile	Sun Mar 28 01:29:14 2004
@@ -7,7 +7,7 @@
 
 PORTNAME=	id-utils
 PORTVERSION=	3.2d
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GNU_ALPHA}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,12 +15,26 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	The classic Berkeley gid/lid tools for looking up variables in code
 
-# need to byte-compile a .el file
-BUILD_DEPENDS=	emacs:${PORTSDIR}/editors/emacs20
-
 CONFLICTS=	coreutils-* sh-utils-*
 
-GNU_CONFIGURE=	yes
+USE_REINPLACE=	yes
 USE_GMAKE=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
+
+INFO=		id-utils
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=	--disable-nls
+PLIST_SUB+=	NLS="@comment "
+.else
+USE_GETTEXT=	yes
+PLIST_SUB+=	NLS=""
+.endif
+
+post-patch:
+	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+		's|@EMACS@|no|g'
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/id-utils/pkg-plist devel/id-utils/pkg-plist
--- /usr/ports/devel/id-utils/pkg-plist	Thu Sep 19 21:06:25 2002
+++ devel/id-utils/pkg-plist	Sun Mar 28 00:34:31 2004
@@ -7,11 +7,7 @@
 bin/lid
 bin/mkid
 bin/xtokid
-@unexec install-info --delete %D/info/id-utils.info %D/info/dir
-info/id-utils.info
-@exec install-info %D/info/id-utils.info %D/info/dir
 share/emacs/site-lisp/id-utils.el
-share/emacs/site-lisp/id-utils.elc
 share/id-lang.map
-share/locale/de/LC_MESSAGES/id-utils.mo
-share/locale/fr/LC_MESSAGES/id-utils.mo
+%%NLS%%share/locale/de/LC_MESSAGES/id-utils.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/id-utils.mo
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040329010021.27bc39c7.tkato>