pkgsrc/print/cups-base/buildlink3.mk
khorben 3947da03bf Rename print/cups to print/cups-base to depend on cups-filters
This change:
- renames print/cups to print/cups-base,
- lets print/cups-filters depend on print/cups-base instead of cups,
- adds a package print/cups depending on print/cups-base and
  print/cups-filters.

This makes sure installing print/cups always installs
print/cups-filters, as it is necessary for being able to print outside
of Mac OS X since CUPS 1.6.0. You're welcome.

I do not think superseding is necessary, since print/cups will also
install print/cups-base, which really is the same as before. In practice
it is like a new dependency. I do not want to risk a bad "cvs import"
either, sorry.

Bumps PKGREVISION for print/cups and print/cups-filters, since they have
new dependencies now. This is also necessary for everything else currently
depending on print/cups; I will try to commit this right after this one.

Tested on NetBSD/amd64, as reviewed on tech-pkg@.
No breakage observed, apologies if anything goes wrong.
2017-11-12 14:10:15 +00:00

33 lines
942 B
Makefile

# $NetBSD: buildlink3.mk,v 1.1 2017/11/12 14:10:15 khorben Exp $
BUILDLINK_TREE+= cups-base
.if !defined(CUPS_BASE_BUILDLINK3_MK)
CUPS_BASE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.cups-base+= cups-base>=1.1.19nb3
BUILDLINK_ABI_DEPENDS.cups-base+= cups-base>=2.2.2nb2
BUILDLINK_PKGSRCDIR.cups-base?= ../../print/cups-base
pkgbase := cups-base
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.cups:Mkerberos)
.include "../../mk/krb5.buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.cups:Mdnssd)
.include "../../net/mDNSResponder/buildlink3.mk"
.endif
.if ${OPSYS} != "Darwin" && !empty(PKG_BUILD_OPTIONS.cups:Mavahi)
.include "../../net/avahi/buildlink3.mk"
.endif
.include "../../converters/libiconv/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
.endif # CUPS_BASE_BUILDLINK3_MK
BUILDLINK_TREE+= -cups-base