pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt4-libs Fix qt4-tools build on Linux by adding -l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5d5c06f61872
branches:  trunk
changeset: 566469:5d5c06f61872
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Oct 23 15:47:09 2009 +0000

description:
Fix qt4-tools build on Linux by adding -ldl to LDFLAGS.
>From Ondrej Tuma in PR pkg/37688
XXX I think -ldl should go into the generated libQtCore.la instead,
but I lack sufficient clue how to make that happen.

diffstat:

 x11/qt4-libs/Makefile.common |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 12b9ab338918 -r 5d5c06f61872 x11/qt4-libs/Makefile.common
--- a/x11/qt4-libs/Makefile.common      Fri Oct 23 14:40:15 2009 +0000
+++ b/x11/qt4-libs/Makefile.common      Fri Oct 23 15:47:09 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.16 2009/10/11 09:14:52 adam Exp $
+# $NetBSD: Makefile.common,v 1.17 2009/10/23 15:47:09 tnn Exp $
 # used by x11/qt4-libs/Makefile
 # used by x11/qt4-docs/Makefile
 
@@ -79,6 +79,8 @@
 .  if exists(/usr/lib/libresolv.dylib)
 LDFLAGS+=              -lresolv
 .  endif
+.elif ${OPSYS} == "Linux"
+LDFLAGS+=              -ldl
 .endif
 
 QMAKE_RANLIB?=         ${TRUE}



Home | Main Index | Thread Index | Old Index