pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/gtkada x11/gtkada: Fix depends



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f96d8529ab7
branches:  trunk
changeset: 355240:1f96d8529ab7
user:      marino <marino%pkgsrc.org@localhost>
date:      Sat Nov 26 18:20:58 2016 +0000

description:
x11/gtkada: Fix depends

1. sphinx is a build depends, not full depends
2. explicitly list gcc5-aux as full depends (buildlink will soon default
   to build depends)
3. Fix rpath after recent ada compiler switch

diffstat:

 x11/gtkada/Makefile |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r aec95ddb2ec3 -r 1f96d8529ab7 x11/gtkada/Makefile
--- a/x11/gtkada/Makefile       Sat Nov 26 16:12:18 2016 +0000
+++ b/x11/gtkada/Makefile       Sat Nov 26 18:20:58 2016 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.36 2016/11/25 20:36:50 marino Exp $
+# $NetBSD: Makefile,v 1.37 2016/11/26 18:20:58 marino Exp $
 #
 
 DISTNAME=      gtkada-${GTKADA_VERSION}
-PKGREVISION=   11
+PKGREVISION=   12
 CATEGORIES=    x11
 MASTER_SITES=  http://downloads.dragonlace.net/src/
 EXTRACT_SUFX=  .tar.bz2
@@ -14,7 +14,7 @@
 COMMENT=       Ada graphical toolkit based on Gtk+
 LICENSE=       gnu-gpl-v2
 
-DEPENDS+=      ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+BUILD_DEPENDS= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
 
 GNU_CONFIGURE=         yes
 USE_TOOLS+=            gmake perl pkg-config
@@ -43,8 +43,9 @@
 GTK2PC=                ${BUILDLINK_DIR}/lib/pkgconfig/gtk+-2.0.pc
 
 # Make it find libgcc_s.so from lang/gcc-aux.
-BUILDLINK_PASSTHRU_RPATHDIRS+= ${PREFIX}/gcc-aux/lib
-LDFLAGS+=                      -Wl,-R${PREFIX}/gcc-aux/lib
+BUILDLINK_DEPMETHOD.gcc5-aux=  full
+BUILDLINK_PASSTHRU_RPATHDIRS+= ${PREFIX}/gcc5-aux/lib
+LDFLAGS+=                      -Wl,-R${PREFIX}/gcc5-aux/lib
 
 post-wrapper:
        # This hack works around missing gmodule entry in gtk2



Home | Main Index | Thread Index | Old Index