summaryrefslogtreecommitdiff
path: root/devel/cgdb
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-12-09 18:35:20 +0000
committerjoerg <joerg@pkgsrc.org>2009-12-09 18:35:20 +0000
commit70e5d89ef8190b904bb9ff806b0202ade365e393 (patch)
treea7a2b14b43c1ccd0c0f4bd6f9b2c19330e7f66be /devel/cgdb
parentb3d465ed5fb6ea6ff00a25b6dc4416339f15779f (diff)
downloadpkgsrc-70e5d89ef8190b904bb9ff806b0202ade365e393.tar.gz
As -L/usr/lib tends to be found in LDFLAGS, make sure that the library
of interest (the local libutil) is found first.
Diffstat (limited to 'devel/cgdb')
-rw-r--r--devel/cgdb/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/cgdb/Makefile b/devel/cgdb/Makefile
index 80e94de769e..7066ea4d58a 100644
--- a/devel/cgdb/Makefile
+++ b/devel/cgdb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2009/06/30 00:07:12 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2009/12/09 18:35:20 joerg Exp $
#
DISTNAME= cgdb-0.4.0
@@ -19,6 +19,8 @@ USE_TOOLS+= gmake
USE_NCURSES= # tigetstr()
USE_GNU_READLINE= # rl_mark and others
+MAKE_ENV+= AM_LDFLAGS=-L${WRKSRC}/various/util/src
+
INSTALLATION_DIRS= bin share/doc/cgdb
do-install: