pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/gtk-gnutella Use shell conditional instead of ".if...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7946dfc855d0
branches: trunk
changeset: 486433:7946dfc855d0
user: tron <tron%pkgsrc.org@localhost>
date: Tue Dec 28 11:02:55 2004 +0000
description:
Use shell conditional instead of ".if exists()" and "BUILDLINK_PREFIX"
instead of "X11PREFIX".
diffstat:
net/gtk-gnutella/Makefile | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
diffs (33 lines):
diff -r fe9e5e299901 -r 7946dfc855d0 net/gtk-gnutella/Makefile
--- a/net/gtk-gnutella/Makefile Tue Dec 28 10:48:09 2004 +0000
+++ b/net/gtk-gnutella/Makefile Tue Dec 28 11:02:55 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2004/12/27 20:07:10 tron Exp $
+# $NetBSD: Makefile,v 1.37 2004/12/28 11:02:55 tron Exp $
DISTNAME= gtk-gnutella-0.95
CATEGORIES= net
@@ -21,16 +21,14 @@
-D locale="${PREFIX}/${PKGLOCALEDIR}/locale" \
-D optimize="${COPTS}" -D gtkversion=2 -D yacc="yacc"
-.include "../../mk/bsd.prefs.mk"
-
-.if exists(${X11PREFIX}/include/gtk-2.0/gtk/gtkcellrendererprogress.h)
-post-extract:
- cd ${WRKSRC}/src/ui/gtk/gtk2 && \
- ${RM} pbarcellrenderer.c pbarcellrenderer.h && \
- ${TOUCH} pbarcellrenderer.c pbarcellrenderer.h
-.endif
-
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
+post-configure:
+ @if [ -f ${BUILDLINK_PREFIX.gtk2}/include/gtk-2.0/gtk/gtkcellrendererprogress.h ]; then \
+ cd ${WRKSRC}/src/ui/gtk/gtk2 && \
+ ${RM} pbarcellrenderer.c pbarcellrenderer.h && \
+ ${TOUCH} pbarcellrenderer.c pbarcellrenderer.h; \
+ fi
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index