Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2004 01:00:18 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/64853: Update port: devel/bison
Message-ID:  <20040329010018.73f89b3a.tkato@prontomail.com>
Resent-Message-ID: <200403281610.i2SGAJIT075411@freefall.freebsd.org>

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

>Number:         64853
>Category:       ports
>Synopsis:       Update port: devel/bison
>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 INFO
- Support DATADIR

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/bison/Makefile devel/bison/Makefile
--- /usr/ports/devel/bison/Makefile	Thu Feb  5 18:15:49 2004
+++ devel/bison/Makefile	Sun Mar 28 00:28:24 2004
@@ -17,28 +17,26 @@
 
 BUILD_DEPENDS=	gm4:${PORTSDIR}/devel/m4
 RUN_DEPENDS=	gm4:${PORTSDIR}/devel/m4
-CONFLICTS=	bison-[0-9]+
 
-.if !defined(WITHOUT_NLS)
-PLIST_SUB=	NLS=""
-.else
-PLIST_SUB=	NLS="@comment "
-.endif
+CONFLICTS=	bison-[0-9]+
 
 USE_BZIP2=	yes
-.if !defined(WITHOUT_NLS)
-USE_GETTEXT=	yes
-.endif
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS=	--disable-nls
-.endif
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib" \
 		MAKEINFO="makeinfo --no-split"
 
 MAN1=		bison.1
+INFO=		bison
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=	--disable-nls
+PLIST_SUB+=	NLS="@comment "
+.else
+USE_GETTEXT=	yes
+PLIST_SUB+=	NLS=""
+.endif
 
 .ifdef USE_BISON
 .error You have `USE_BISON' variable defined either in environment or in make(1) arguments. Please undefine and try again.
diff -urN /usr/ports/devel/bison/pkg-plist devel/bison/pkg-plist
--- /usr/ports/devel/bison/pkg-plist	Tue Jul 29 21:31:33 2003
+++ devel/bison/pkg-plist	Sun Mar 28 00:27:50 2004
@@ -1,14 +1,11 @@
 @comment $FreeBSD: ports/devel/bison/pkg-plist,v 1.15 2003/07/29 06:35:27 daichi Exp $
 bin/bison
-@unexec install-info --delete %D/info/bison.info %D/info/dir
-info/bison.info
-@exec install-info %D/info/bison.info %D/info/dir
-share/bison/c.m4
-share/bison/glr.c
-share/bison/lalr1.cc
-share/bison/m4sugar/m4sugar.m4
-share/bison/m4sugar/version.m4
-share/bison/yacc.c
+%%DATADIR%%/c.m4
+%%DATADIR%%/glr.c
+%%DATADIR%%/lalr1.cc
+%%DATADIR%%/m4sugar/m4sugar.m4
+%%DATADIR%%/m4sugar/version.m4
+%%DATADIR%%/yacc.c
 %%NLS%%share/locale/de/LC_MESSAGES/bison.mo
 %%NLS%%share/locale/es/LC_MESSAGES/bison.mo
 %%NLS%%share/locale/et/LC_MESSAGES/bison.mo
@@ -22,5 +19,5 @@
 %%NLS%%share/locale/ru/LC_MESSAGES/bison.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/bison.mo
 %%NLS%%share/locale/tr/LC_MESSAGES/bison.mo
-@dirrm share/bison/m4sugar
-@dirrm share/bison
+@dirrm %%DATADIR%%/m4sugar
+@dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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