summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-07-24 17:13:29 +0000
committerjlam <jlam@pkgsrc.org>2000-07-24 17:13:29 +0000
commit6fa7a4a129698354afba072fa875d95183d09ebe (patch)
tree80fdf0e958dbe1edace31d1f6786c3baf8557ca8 /graphics
parent3b7e5a92c6fa1146a18407d6c042dd90a96991f9 (diff)
downloadpkgsrc-6fa7a4a129698354afba072fa875d95183d09ebe.tar.gz
Make this work with new freetype header location and work correctly with
xpkgwedge.
Diffstat (limited to 'graphics')
-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