summaryrefslogtreecommitdiff
path: root/print/podofo
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-04-07 11:15:52 +0000
committerwiz <wiz@pkgsrc.org>2014-04-07 11:15:52 +0000
commit5e2908ec40443b1e87e9df910277ec18d33e8f7d (patch)
treeeaa37a27ddcdf7bf34f319ce80c163dab9297b83 /print/podofo
parenteb92f8a5ac829948c684bb8758e47911a091c6fb (diff)
downloadpkgsrc-5e2908ec40443b1e87e9df910277ec18d33e8f7d.tar.gz
Fix freetype2 detection with 2.5.1.
Diffstat (limited to 'print/podofo')
-rw-r--r--print/podofo/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/print/podofo/Makefile b/print/podofo/Makefile
index 7f2729c9b03..afade51b03f 100644
--- a/print/podofo/Makefile
+++ b/print/podofo/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2014/02/12 23:18:30 tron Exp $
-#
+# $NetBSD: Makefile,v 1.20 2014/04/07 11:15:52 wiz Exp $
DISTNAME= podofo-0.9.2
PKGREVISION= 2
@@ -15,7 +14,8 @@ USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
CMAKE_ARGS+= -DPODOFO_BUILD_SHARED:BOOL=TRUE -DPODOFO_BUILD_STATIC:BOOL=TRUE
-CMAKE_ARGS+= -DFREETYPE_INCLUDE_DIR_FT2BUILD:PATH=${BUILDLINK_PREFIX.freetype2}/include
+CMAKE_ARGS+= -DFREETYPE_INCLUDE_DIR_FT2BUILD:PATH=${BUILDLINK_PREFIX.freetype2}/include/freetype2
+CMAKE_ARGS+= -DFREETYPE_INCLUDE_DIR_FTHEADER:PATH=${BUILDLINK_PREFIX.freetype2}/include/freetype2/config
CMAKE_ARGS+= -DFREETYPE_LIB_PATHS:PATH=${BUILDLINK_PREFIX.freetype2}/lib
.include "options.mk"