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 Simplify Makefile using BUILDLINK_TRA...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b000e04e2b2c
branches:  trunk
changeset: 475942:b000e04e2b2c
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun May 30 07:52:08 2004 +0000

description:
Simplify Makefile using BUILDLINK_TRANSFORM instead of subst.mk.

diffstat:

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

diffs (22 lines):

diff -r 8eaf5b841d71 -r b000e04e2b2c net/ed2k-gtk-gui/Makefile
--- a/net/ed2k-gtk-gui/Makefile Sun May 30 07:06:26 2004 +0000
+++ b/net/ed2k-gtk-gui/Makefile Sun May 30 07:52:08 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/04/14 16:15:26 jmmv Exp $
+# $NetBSD: Makefile,v 1.5 2004/05/30 07:52:08 minskim Exp $
 
 DISTNAME=              ed2k-gtk-gui-0.6.2
 CATEGORIES=            net
@@ -20,11 +20,7 @@
 SUBST_FILES.shell=     ed2k_gui/misc.c
 SUBST_SED.shell=       -e 's,/bin/bash,/bin/sh,g'
 
-SUBST_CLASSES+=                gtk24
-SUBST_MESSAGE.gtk24=   "Fixing build with GTK+ 2.4."
-SUBST_STAGE.gtk24=     post-patch
-SUBST_FILES.gtk24=     ed2k_gui/Makefile.in
-SUBST_SED.gtk24=       -e 's|-D.*_DISABLE_DEPRECATED||g'
+BUILDLINK_TRANSFORM+=  S:-DGTK_DISABLE_DEPRECATED:
 
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/pkgconfig/buildlink3.mk"



Home | Main Index | Thread Index | Old Index