summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd>2004-07-31 22:23:40 +0000
committermarkd <markd>2004-07-31 22:23:40 +0000
commit8f4d44876e92fd69f643ecbe002334f01efb5c67 (patch)
tree7ca2d4c744463c5b0c3fd14de8be3d170bc66dd0
parent012e71c5b7b4c8ae08f5e18f118410a2af0cb27b (diff)
downloadpkgsrc-8f4d44876e92fd69f643ecbe002334f01efb5c67.tar.gz
Set QMAKE_LFLAGS based on the value of LDFLAGS at the point that qmake is
run rather than when the qmake.conf was generated. Should be effectively equivalent to what was happening under buildlink2 and fixes linking problems of audio/kmp and other qmake using packages.
-rw-r--r--x11/qt3-libs/files/qmake.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11/qt3-libs/files/qmake.conf b/x11/qt3-libs/files/qmake.conf
index 519574edf68..429ea03158b 100644
--- a/x11/qt3-libs/files/qmake.conf
+++ b/x11/qt3-libs/files/qmake.conf
@@ -1,5 +1,5 @@
-# $NetBSD: qmake.conf,v 1.13 2004/07/06 16:01:10 reed Exp $
-# $Id: qmake.conf,v 1.13 2004/07/06 16:01:10 reed Exp $
+# $NetBSD: qmake.conf,v 1.14 2004/07/31 22:23:40 markd Exp $
+# $Id: qmake.conf,v 1.14 2004/07/31 22:23:40 markd Exp $
#
# qmake configuration for netbsd-g++
#
@@ -56,7 +56,7 @@ QMAKE_LINK_SHLIB_CMD = \
-rpath $(if $(TARGET0), \
$(QTPREFIX)/lib, \
$(subst ../../..,$(QTPREFIX)/plugins,$(DESTDIR)))
-QMAKE_LFLAGS = @LDFLAGS@ -L$(QTDIR)/lib
+QMAKE_LFLAGS = $(LDFLAGS) -L$(QTDIR)/lib
QMAKE_LFLAGS_RELEASE =
QMAKE_LFLAGS_DEBUG =
QMAKE_LFLAGS_SHLIB =