summaryrefslogtreecommitdiff
path: root/graphics/libwmf/Makefile
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>2000-05-29 02:23:41 +0000
committerChris Piazza <cpiazza@FreeBSD.org>2000-05-29 02:23:41 +0000
commitc6a24ad5523666fcac8e3338624196735a693861 (patch)
treeb56e0ac760f67315232f2b96447d786dffd5287e /graphics/libwmf/Makefile
parent- Support CFLAGS properly (diff)
Use shared libraries
PR: 18822 Submitted by: Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>
Notes
Notes: svn path=/head/; revision=28850
Diffstat (limited to 'graphics/libwmf/Makefile')
-rw-r--r--graphics/libwmf/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile
index 1a2b3ec46bfb..c17b35340723 100644
--- a/graphics/libwmf/Makefile
+++ b/graphics/libwmf/Makefile
@@ -13,6 +13,7 @@ MASTER_SITES= http://www.csn.ul.ie/~caolan/publink/libwmf/
MAINTAINER= cpiazza@FreeBSD.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
+ gd.0:${PORTSDIR}/graphics/gd \
png.3:${PORTSDIR}/graphics/png \
ttf.4:${PORTSDIR}/print/freetype
@@ -21,7 +22,11 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype \
+ -I${LOCALBASE}/include/gd \
-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}"/lib
+post-build:
+ @cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/patch-gd
+
.include <bsd.port.mk>