diff options
author | markd <markd@pkgsrc.org> | 2004-07-13 13:14:41 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2004-07-13 13:14:41 +0000 |
commit | ab4f4fcf00bc7797b59f645566c64c22fbb75a95 (patch) | |
tree | f312b9181f769fc69b3d02111b1fa6e9efa9d73a /x11 | |
parent | ba1a9c31b21e183043b7c79f1366c11ba9c759bd (diff) | |
download | pkgsrc-ab4f4fcf00bc7797b59f645566c64c22fbb75a95.tar.gz |
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 (limited to 'x11')
-rw-r--r-- | x11/qt3-libs/Makefile.common | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/qt3-libs/Makefile.common b/x11/qt3-libs/Makefile.common index cfda1ead923..4209b028ffb 100644 --- a/x11/qt3-libs/Makefile.common +++ b/x11/qt3-libs/Makefile.common @@ -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 @@ SYS_LIBS= -lresolv -lsocket -lnsl -lrt 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 |