pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cgdb As -L/usr/lib tends to be found in LDFLAGS,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a03287fd6166
branches:  trunk
changeset: 568283:a03287fd6166
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Dec 09 18:35:20 2009 +0000

description:
As -L/usr/lib tends to be found in LDFLAGS, make sure that the library
of interest (the local libutil) is found first.

diffstat:

 devel/cgdb/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 9949253af284 -r a03287fd6166 devel/cgdb/Makefile
--- a/devel/cgdb/Makefile       Wed Dec 09 18:30:32 2009 +0000
+++ b/devel/cgdb/Makefile       Wed Dec 09 18:35:20 2009 +0000
@@ -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_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:



Home | Main Index | Thread Index | Old Index