- freetype requires zlib

- sync archs with mplayer
This commit is contained in:
naddy 2007-04-01 17:16:36 +00:00
parent b0bb817009
commit 4b36b8e505

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.16 2006/11/13 16:31:08 steven Exp $
# $OpenBSD: Makefile,v 1.17 2007/04/01 17:16:36 naddy Exp $
# sync with mplayer archs due to dependency
ONLY_FOR_ARCHS=i386 macppc
ONLY_FOR_ARCHS= amd64 i386 powerpc sparc64 arm
DISTNAME=mplayer-fontmaker-0.90
PKGNAME=${DISTNAME}p0
CATEGORIES=x11
COMMENT='subtitle fonts generator for mplayer'
@ -18,7 +19,7 @@ post-extract:
WRKSRC= ${WRKDIST}/TOOLS/subfont-c
ALL_TARGET=subfont
MAKE_FLAGS=OPTFLAGS='-I${X11BASE}/include/freetype2 -I${LOCALBASE}/include' \
LDLIBS='-lm -L/usr/X11R6/lib -lfreetype -L/usr/local/lib -liconv'
LDLIBS='-lm -L/usr/X11R6/lib -lfreetype -lz -L/usr/local/lib -liconv'
USE_GMAKE=Yes
USE_X11=Yes
@ -43,6 +44,6 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= "Patented stuff"
WANTLIB= c freetype m
WANTLIB= c freetype m z
.include <bsd.port.mk>