pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/detox detox: fix build when using flex from p...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c904c0b51718
branches: trunk
changeset: 401472:c904c0b51718
user: maya <maya%pkgsrc.org@localhost>
date: Wed Sep 18 12:16:22 2019 +0000
description:
detox: fix build when using flex from pkgsrc (i.e. linux)
Look for -lfl in LDFLAGS as well, not just the default paths.
diffstat:
sysutils/detox/Makefile | 4 +++-
sysutils/detox/distinfo | 4 ++--
sysutils/detox/patches/patch-aa | 20 +++++++++++++++++---
3 files changed, 22 insertions(+), 6 deletions(-)
diffs (60 lines):
diff -r f50fc8f79d4d -r c904c0b51718 sysutils/detox/Makefile
--- a/sysutils/detox/Makefile Wed Sep 18 12:08:31 2019 +0000
+++ b/sysutils/detox/Makefile Wed Sep 18 12:16:22 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2016/03/30 12:51:16 jperkin Exp $
+# $NetBSD: Makefile,v 1.8 2019/09/18 12:16:22 maya Exp $
#
DISTNAME= detox-1.2.0
@@ -17,6 +17,8 @@
EGDIR= ${PREFIX}/share/examples/detox
CONF_FILES= ${EGDIR}/detoxrc ${PKG_SYSCONFDIR}/detoxrc
+MAKE_ENV+= L_OPT=-L${PREFIX}/lib
+
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/detoxrc ${DESTDIR}${EGDIR}/detoxrc
diff -r f50fc8f79d4d -r c904c0b51718 sysutils/detox/distinfo
--- a/sysutils/detox/distinfo Wed Sep 18 12:08:31 2019 +0000
+++ b/sysutils/detox/distinfo Wed Sep 18 12:16:22 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/04 01:32:11 agc Exp $
+$NetBSD: distinfo,v 1.4 2019/09/18 12:16:22 maya Exp $
SHA1 (detox-1.2.0.tar.bz2) = cfb88a1adefaf4ee3933baf9a6530c102baa47ce
RMD160 (detox-1.2.0.tar.bz2) = 02eb1a5ebc28f6f6e024d58b998758d156002a70
SHA512 (detox-1.2.0.tar.bz2) = 48c0060ed0538c26aeba444bf327f1e52ea47d0e696577deeb43304dfb960ee5abe984651948bfc67c51d7f15f9051df2a208acfe53a5778a7471460e87f639a
Size (detox-1.2.0.tar.bz2) = 86118 bytes
-SHA1 (patch-aa) = 31eca361d838b78642873c380ebf497483790cdb
+SHA1 (patch-aa) = b1a3855a2cbf9d1d3325f22c00bdccd772ad768a
diff -r f50fc8f79d4d -r c904c0b51718 sysutils/detox/patches/patch-aa
--- a/sysutils/detox/patches/patch-aa Wed Sep 18 12:08:31 2019 +0000
+++ b/sysutils/detox/patches/patch-aa Wed Sep 18 12:16:22 2019 +0000
@@ -1,8 +1,22 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/12/01 03:32:03 minskim Exp $
+$NetBSD: patch-aa,v 1.2 2019/09/18 12:16:22 maya Exp $
+
+Find where -lfl might be,
+
+don't install directly to sysconfdir (we install to the
+share/examples in the package Makefile)
---- Makefile.in.orig 2005-08-28 07:46:30.000000000 +0200
+--- Makefile.in.orig 2008-04-12 01:02:47.000000000 +0000
+++ Makefile.in
-@@ -124,7 +124,7 @@ install-safe-config:
+@@ -40,7 +40,7 @@ sysconfdir = @sysconfdir@
+ datadir = @datadir@
+
+ CFLAGS = @CFLAGS@
+-L_OPT = @LEXLIB@ @LIBS@
++L_OPT = @LEXLIB@ @LIBS@ @LDFLAGS@
+
+ CC = @CC@
+ LEX = @LEX@
+@@ -149,7 +149,7 @@ install-safe-config:
fi
install-unsafe-config:
Home |
Main Index |
Thread Index |
Old Index