summaryrefslogtreecommitdiff
path: root/graphics/libwmf
diff options
context:
space:
mode:
authorjlam <jlam>2000-07-24 17:13:29 +0000
committerjlam <jlam>2000-07-24 17:13:29 +0000
commit01405116acaac04a29baacc2cd9e40b2b54fe397 (patch)
tree80fdf0e958dbe1edace31d1f6786c3baf8557ca8 /graphics/libwmf
parent77ac1a5e9b95b1de42b3e0f20a131342939afd85 (diff)
downloadpkgsrc-01405116acaac04a29baacc2cd9e40b2b54fe397.tar.gz
Make this work with new freetype header location and work correctly with
xpkgwedge.
Diffstat (limited to 'graphics/libwmf')
-rw-r--r--graphics/libwmf/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile
index 5ceda2dd9c2..052aac64bba 100644
--- a/graphics/libwmf/Makefile
+++ b/graphics/libwmf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2000/07/15 20:39:21 agc Exp $
+# $NetBSD: Makefile,v 1.9 2000/07/24 17:13:29 jlam Exp $
#
DISTNAME= libwmf-0.1.17
@@ -8,7 +8,7 @@ MASTER_SITES= http://www.csn.ul.ie/~caolan/publink/libwmf/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.csn.ul.ie/~caolan/docs/libwmf.html
-BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
+BUILD_DEPENDS+= autoreconf:../../devel/autoconf
DEPENDS+= freetype-lib-*:../../graphics/freetype-lib
DEPENDS+= png>=1.0.6:../../graphics/png
DEPENDS+= xpm-3.4k:../../graphics/xpm
@@ -26,10 +26,13 @@ CONFIGURE_ARGS+= --with-png="${LOCALBASE}"
CONFIGURE_ARGS+= --with-ttf="${LOCALBASE}"
CONFIGURE_ARGS+= --with-xpm="${XPMDIR}"
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
-CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
+
+CPPFLAGS+= -I${LOCALBASE}/include/freetype # freetype.h
+CPPFLAGS+= -I${LOCALBASE}/include # png.h
+CPPFLAGS+= -I${XPMDIR}/include # xpm.h
pre-configure:
- cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf
+ cd ${WRKSRC} && autoreconf
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libwmf