pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ed2k-gtk-gui net/ed2k-gtk-gui: Fix indirect linkin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/313d5340c825
branches:  trunk
changeset: 603921:313d5340c825
user:      marino <marino%pkgsrc.org@localhost>
date:      Wed May 16 18:48:45 2012 +0000

description:
net/ed2k-gtk-gui: Fix indirect linking on DragonFly

On a previous commit, I added an LDFLAGS entry to address indirect
linking.  Since then I use LDFLAGS.DragonFly because the LDFLAGS fix
wasn't completely welcomed.  Now that a second library has to be added
to the indirect link fix, I'm moved both to LDFLAGS.DragonFly.

diffstat:

 net/ed2k-gtk-gui/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1c018a8b103b -r 313d5340c825 net/ed2k-gtk-gui/Makefile
--- a/net/ed2k-gtk-gui/Makefile Wed May 16 18:35:28 2012 +0000
+++ b/net/ed2k-gtk-gui/Makefile Wed May 16 18:48:45 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2012/03/03 00:13:43 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2012/05/16 18:48:45 marino Exp $
 
 DISTNAME=              ed2k-gtk-gui-0.6.3
 PKGREVISION=           13
@@ -15,7 +15,7 @@
 USE_PKGLOCALEDIR=      yes
 GNU_CONFIGURE=         yes
 CONFIGURE_ENV+=                CONFIGURE_LDFLAGS=${LDFLAGS:M*:Q}
-LDFLAGS+=              -lX11   # direct link for ld v2.22
+LDFLAGS.DragonFly+=    -lX11 -lgmodule-2.0
 
 BUILDLINK_TRANSFORM+=  rm:-DGTK_DISABLE_DEPRECATED
 



Home | Main Index | Thread Index | Old Index