pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/qt3-libs Be explicit about enabling or disabling c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/59976df7cd7b
branches: trunk
changeset: 477962:59976df7cd7b
user: markd <markd%pkgsrc.org@localhost>
date: Tue Jul 13 13:14:41 2004 +0000
description:
Be explicit about enabling or disabling cups support based on value of
USE_CUPS. Patch similar to that described by Bob Bernstein and Jeremy C.
Reed in tech-pkg@.
Fixes PR 26261 from Ian Zagorskih.
diffstat:
x11/qt3-libs/Makefile.common | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r eb923284f0a9 -r 59976df7cd7b x11/qt3-libs/Makefile.common
--- a/x11/qt3-libs/Makefile.common Tue Jul 13 12:46:55 2004 +0000
+++ b/x11/qt3-libs/Makefile.common Tue Jul 13 13:14:41 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.31 2004/07/06 16:01:10 reed Exp $
+# $NetBSD: Makefile.common,v 1.32 2004/07/13 13:14:41 markd Exp $
#
DISTNAME= qt-x11-free-${QTVERSION}
CATEGORIES= x11
@@ -60,6 +60,14 @@
CONFIGURE_ARGS+= -no-xinerama
.endif
+.if defined(USE_CUPS) && !empty(USE_CUPS:M[yY][eE][sS])
+. include "../../print/cups/buildlink3.mk"
+CONFIGURE_ARGS+= -cups
+.else
+CONFIGURE_ARGS+= -no-cups
+.endif
+BUILD_DEFS+= USE_CUPS
+
#
# Reverse the change to how templates are handled made between 3.0.4
# and 3.0.5 for older toolchains. Removing inline for newer toolchains
Home |
Main Index |
Thread Index |
Old Index