From d3b75a7df2e62a9145223aae75058ad5f39b0c95 Mon Sep 17 00:00:00 2001 From: reed Date: Tue, 4 Oct 2005 17:45:22 +0000 Subject: Define CONFIGURE_HAS_MANDIR=NO since this old GNU_CONFIGURE configure script doesn't know --mandir. Also because of this, add patch to fix where installs manpage. --- devel/flex/Makefile | 3 ++- devel/flex/distinfo | 3 ++- devel/flex/patches/patch-ab | 13 +++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 devel/flex/patches/patch-ab (limited to 'devel/flex') diff --git a/devel/flex/Makefile b/devel/flex/Makefile index edc3d6c836e..d9cd4e33e07 100644 --- a/devel/flex/Makefile +++ b/devel/flex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2005/05/22 20:07:50 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2005/10/04 17:45:22 reed Exp $ DISTNAME= flex-2.5.4a CATEGORIES= lang @@ -10,6 +10,7 @@ COMMENT= Fast clone of lex(1), the lexical scanner generator WRKSRC= ${WRKDIR}/flex-2.5.4 GNU_CONFIGURE= YES +CONFIGURE_HAS_MANDIR= NO USE_TOOLS+= bison TEST_TARGET= check diff --git a/devel/flex/distinfo b/devel/flex/distinfo index 6e8189e2612..897b1ac549b 100644 --- a/devel/flex/distinfo +++ b/devel/flex/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.4 2005/02/23 22:24:13 agc Exp $ +$NetBSD: distinfo,v 1.5 2005/10/04 17:45:22 reed Exp $ SHA1 (flex-2.5.4a.tar.gz) = 38a5e15c348d2ca7dce94d71de2b51484d23e2ef RMD160 (flex-2.5.4a.tar.gz) = 6b8ff62207fd3961ad2544db083cec1e42b8519b Size (flex-2.5.4a.tar.gz) = 380995 bytes SHA1 (patch-aa) = 2090bae09103fc04672081c855ca8be637f5fe9e +SHA1 (patch-ab) = 8cb35c1bd8d0510f900c0f3abc31a87dbb50c841 diff --git a/devel/flex/patches/patch-ab b/devel/flex/patches/patch-ab new file mode 100644 index 00000000000..a15f84bcb50 --- /dev/null +++ b/devel/flex/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2005/10/04 17:45:22 reed Exp $ + +--- Makefile.in.orig 1996-09-10 16:59:11.000000000 -0700 ++++ Makefile.in +@@ -34,7 +34,7 @@ bindir = $(exec_prefix)/bin + libdir = $(exec_prefix)/lib + includedir = $(prefix)/include + manext = 1 +-mandir = $(prefix)/man/man$(manext) ++mandir = $(prefix)/${PKGMANDIR}/man$(manext) + + # You can define these to be "lex" and "libl.a" if you want to replace + # lex at your site. -- cgit v1.2.3