change the placement of LIB_DEPENDS line for freetype
This commit is contained in:
parent
82448ea881
commit
337e6b68da
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.23 2000/07/04 02:09:20 krw Exp $
|
||||
# $OpenBSD: Makefile,v 1.24 2000/07/20 07:43:20 brad Exp $
|
||||
# $FreeBSD: Makefile,v 1.5 1998/06/25 03:13:16 vanilla Exp $
|
||||
|
||||
DISTNAME= gd-1.8.3
|
||||
@ -11,9 +11,6 @@ HOMEPAGE= http://www.boutell.com/gd/
|
||||
|
||||
LIB_DEPENDS= jpeg.62::graphics/jpeg \
|
||||
png.1::graphics/png
|
||||
.if !defined(FLAVOR)
|
||||
LIB_DEPENDS+= ttf.1.3::print/freetype
|
||||
.endif
|
||||
|
||||
MAINTAINER= brad@openbsd.org
|
||||
|
||||
@ -36,6 +33,7 @@ MAKE_FLAGS+= CFLAGS="${CFLAGS} -DHAVE_JPEG" \
|
||||
LIBDIRS="-L/usr/local/lib"
|
||||
FAKE_FLAGS+= ${MAKE_FLAGS}
|
||||
.else
|
||||
LIB_DEPENDS+= ttf.1.3::print/freetype
|
||||
MAKE_FLAGS+= CFLAGS="${CFLAGS} -DHAVE_XPM -DHAVE_JPEG -DHAVE_LIBTTF" \
|
||||
LIBS="libgd.la -lm -lpng -lz -ljpeg -lttf -lXpm -lX11" \
|
||||
INCLUDEDIRS="-I. -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/X11" \
|
||||
|
Loading…
Reference in New Issue
Block a user