pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/gtk2-theme-switch Let this build with GTK+ 2.4; to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/04afd2c4d5dd
branches:  trunk
changeset: 473198:04afd2c4d5dd
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sat Apr 17 12:46:20 2004 +0000

description:
Let this build with GTK+ 2.4; to do this, convert to buildlink3 and use
BUILDLINK_TRANSFORM magic.  Closes PR pkg/25209.

diffstat:

 x11/gtk2-theme-switch/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r cbfd2fd7f795 -r 04afd2c4d5dd x11/gtk2-theme-switch/Makefile
--- a/x11/gtk2-theme-switch/Makefile    Sat Apr 17 12:42:45 2004 +0000
+++ b/x11/gtk2-theme-switch/Makefile    Sat Apr 17 12:46:20 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/01/24 15:30:33 grant Exp $
+# $NetBSD: Makefile,v 1.6 2004/04/17 12:46:20 jmmv Exp $
 #
 
 DISTNAME=              gtk-theme-switch-2.0.0rc2
@@ -11,14 +11,17 @@
 HOMEPAGE=              http://www.muhri.net/
 COMMENT=               Allows quick & easy switching of GTK+ 2.x themes
 
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 USE_GNU_TOOLS+=                make
 
+BUILDLINK_TRANSFORM+=  S:-DGTK_DISABLE_DEPRECATED:
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/switch2 \
                ${PREFIX}/bin/gtk2-theme-switch
        ${INSTALL_MAN} ${WRKSRC}/switch.1 \
                ${PREFIX}/man/man1/gtk2-theme-switch.1
 
-.include "../../x11/gtk2/buildlink2.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index