1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Support other gd ports, like japanese/gd and ukrainian/gd

Submitted by:	Michael Lednev <reaper@reaper.hn.org> (by email)
This commit is contained in:
Renato Botelho 2005-12-07 09:32:19 +00:00
parent a2b913727d
commit 9ea87175d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150573

View File

@ -24,7 +24,8 @@ CONFIGURE_ARGS= --enable-bindir="${PREFIX}/bin" \
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if !defined(WITHOUT_GD)
LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
GD_PORT?= graphics/gd
LIB_DEPENDS+= gd.4:${PORTSDIR}/${GD_PORT}
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"