pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xplanet Make X11 dependency an option... and enabl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/196253ec3857
branches: trunk
changeset: 518868:196253ec3857
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Wed Sep 20 18:20:39 2006 +0000
description:
Make X11 dependency an option... and enabled by default as before.
Requested by gdamore@.
diffstat:
x11/xplanet/Makefile | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r dfbbe2db6ca4 -r 196253ec3857 x11/xplanet/Makefile
--- a/x11/xplanet/Makefile Wed Sep 20 16:24:46 2006 +0000
+++ b/x11/xplanet/Makefile Wed Sep 20 18:20:39 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2006/05/15 23:09:05 joerg Exp $
+# $NetBSD: Makefile,v 1.32 2006/09/20 18:20:39 xtraeme Exp $
DISTNAME= xplanet-1.2.0
PKGREVISION= 3
@@ -21,7 +21,20 @@
${INSTALL_DATA_DIR} ${PREFIX}/share/xplanet/${dir}
.endfor
+PKG_OPTIONS_VAR= PKG_OPTIONS.planet
+PKG_SUPPORTED_OPTIONS= x11
+PKG_SUGGESTED_OPTIONS= x11
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mx11)
.include "../../devel/pango/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-pango
+CONFIGURE_ARGS+= --without-x
+CONFIGURE_ARGS+= --without-xscreensaver
+.endif
+
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/libungif/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index