Do not bogusly link with -lttf. gd itself links with -lfreetype only,

and we don't care ourselves.
This commit is contained in:
Mikhail Teterin 2001-08-23 19:25:30 +00:00
parent 594647bf8a
commit ed8305c534
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46740
2 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@ LIB_DEPENDS= tcl${TCL_DVER}.1:${PORTSDIR}/lang/tcl${TCL_DVER} \
TCL_VER= 8.3
TCL_DVER= ${TCL_VER:S/.//}
USE_FREETYPE= yes
MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ENV= TCL_VER=${TCL_VER} MKDIR="${MKDIR}" \
INSTALL_DATA="${INSTALL_DATA}"

View File

@ -19,7 +19,7 @@ TCL_STUB_LIB_SPEC!= . ${PREFIX}/lib/tcl${TCL_VER}/tclConfig.sh; \
TCL_STUB_LIB_SPEC= -L${PREFIX}/lib -ltclstub${TCL_VER:S/.//}
.endif
LDADD = -L${PREFIX}/lib -lgd -lttf -lpng -lz -lm ${TCL_STUB_LIB_SPEC}
LDADD = -L${PREFIX}/lib -lgd -lpng -lz -lm ${TCL_STUB_LIB_SPEC}
CFLAGS +=-I${PREFIX}/include/tcl${TCL_VER} -I${PREFIX}/include/gd
CFLAGS +=-DNDEBUG -Wall -I. -DUSE_TCL_STUBS -I${PREFIX}/include