From 62f85f872e3e4aad16eab118efeba317602031ab Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 25 Sep 2011 08:01:16 +0000 Subject: [PATCH] use new framework --- print/poppler/Makefile | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/print/poppler/Makefile b/print/poppler/Makefile index 4817e62f9ee..77e1346450e 100644 --- a/print/poppler/Makefile +++ b/print/poppler/Makefile @@ -1,5 +1,4 @@ -# $OpenBSD: Makefile,v 1.54 2011/09/16 11:13:41 espie Exp $ -.include +# $OpenBSD: Makefile,v 1.55 2011/09/25 08:01:16 espie Exp $ COMMENT-main= PDF rendering library COMMENT-qt= qt interface to PDF rendering library @@ -36,24 +35,23 @@ MASTER_SITES= ${HOMEPAGE} PSEUDO_FLAVORS=no_qt no_qt4 FLAVOR?= -MULTI_PACKAGES=-main +NOT_FOR_ARCHS-qt4 = arm + +MULTI_PACKAGES=-main -qt -qt4 + +.include + cWANTLIB= expat freetype fontconfig jpeg m z stdc++ -.if empty(FLAVOR:L:Mno_qt) -MULTI_PACKAGES+=-qt +.if ${BUILD_PACKAGES:M-qt} MODULES+= x11/qt3 .else CONFIGURE_ARGS+= --disable-poppler-qt .endif -NOT_FOR_ARCHS-qt4 = arm -.if empty(FLAVOR:L:Mno_qt4) -MULTI_PACKAGES+=-qt4 -.endif - -.if ${MULTI_PACKAGES:L:M-qt4} && ${MACHINE_ARCH} != "arm" +.if ${BUILD_PACKAGES:M-qt4} MODULES+= x11/qt4 .else CONFIGURE_ARGS+= --disable-poppler-qt4