summaryrefslogtreecommitdiff
path: root/devel/cgdb
diff options
context:
space:
mode:
authorjoerg <joerg>2009-12-09 18:35:20 +0000
committerjoerg <joerg>2009-12-09 18:35:20 +0000
commit19b599ca22372b2f96c158889d938fd6004dc096 (patch)
treea7a2b14b43c1ccd0c0f4bd6f9b2c19330e7f66be /devel/cgdb
parentc245344f5e75e0d74129e8badcff23c771df8d57 (diff)
downloadpkgsrc-19b599ca22372b2f96c158889d938fd6004dc096.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: