Skip to content

Commit

Permalink
Fix PLIST for the case when graphics/cairo is built with quartz backe…
Browse files Browse the repository at this point in the history
…nd enabled
  • Loading branch information
pho committed May 31, 2014
1 parent b13f3b3 commit 89c5b9b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 6 additions & 3 deletions graphics/cairomm/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.31 2014/05/29 23:36:37 wiz Exp $
# $NetBSD: Makefile,v 1.32 2014/05/31 11:25:46 pho Exp $

DISTNAME= cairomm-1.10.0
PKGREVISION= 11
PKGREVISION= 12
CATEGORIES= graphics
MASTER_SITES= http://cairographics.org/releases/

Expand Down Expand Up @@ -32,7 +32,7 @@ PKGCONFIG_OVERRIDE+= data/cairomm-xlib-xrender-1.0.pc.in

CONFIGURE_ARGS+= --disable-docs

PLIST_VARS+= x11
PLIST_VARS+= x11 quartz

.include "../../mk/bsd.prefs.mk"

Expand All @@ -42,4 +42,7 @@ BUILDLINK_API_DEPENDS.cairo+= cairo>=1.8
.if !empty(PKG_BUILD_OPTIONS.cairo:Mx11)
PLIST.x11= yes
.endif
.if !empty(PKG_BUILD_OPTIONS.cairo:Mquartz)
PLIST.quartz= yes
.endif
.include "../../mk/bsd.pkg.mk"
5 changes: 4 additions & 1 deletion graphics/cairomm/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.10 2014/05/27 09:40:25 pho Exp $
@comment $NetBSD: PLIST,v 1.11 2014/05/31 11:25:46 pho Exp $
include/cairomm-1.0/cairomm/cairomm.h
include/cairomm-1.0/cairomm/context.h
include/cairomm-1.0/cairomm/device.h
Expand Down Expand Up @@ -26,6 +26,9 @@ lib/pkgconfig/cairomm-ft-1.0.pc
lib/pkgconfig/cairomm-pdf-1.0.pc
lib/pkgconfig/cairomm-png-1.0.pc
lib/pkgconfig/cairomm-ps-1.0.pc
${PLIST.quartz}lib/pkgconfig/cairomm-quartz-1.0.pc
${PLIST.quartz}lib/pkgconfig/cairomm-quartz-font-1.0.pc
${PLIST.quartz}lib/pkgconfig/cairomm-quartz-image-1.0.pc
lib/pkgconfig/cairomm-svg-1.0.pc
${PLIST.x11}lib/pkgconfig/cairomm-xlib-1.0.pc
${PLIST.x11}lib/pkgconfig/cairomm-xlib-xrender-1.0.pc
Expand Down

0 comments on commit 89c5b9b

Please sign in to comment.