summaryrefslogtreecommitdiff
path: root/devel/flex
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-10-04 17:45:22 +0000
committerreed <reed@pkgsrc.org>2005-10-04 17:45:22 +0000
commitb7b8567c2ed5a1ec000bb005e0cb89aabc1602f2 (patch)
treeeb026baa56142548c20c4061909d1fbc29e89cd5 /devel/flex
parent03eea4963f150e580675f9f4d5e5dee1021f352d (diff)
downloadpkgsrc-b7b8567c2ed5a1ec000bb005e0cb89aabc1602f2.tar.gz
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.
Diffstat (limited to 'devel/flex')
-rw-r--r--devel/flex/Makefile3
-rw-r--r--devel/flex/distinfo3
-rw-r--r--devel/flex/patches/patch-ab13
3 files changed, 17 insertions, 2 deletions
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.