aboutsummaryrefslogtreecommitdiff
path: root/print/freetype
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2005-06-03 20:18:13 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2005-06-03 20:18:13 +0000
commit6bb41db8de2d230dc7094adc1e6814b4d08a8f6e (patch)
tree42a20005016b408ec71bd095c4b1866ea68b233d /print/freetype
parent13142dd19cb90b39fac29bd90bd4920febccdd35 (diff)
downloadports-6bb41db8de2d230dc7094adc1e6814b4d08a8f6e.tar.gz
ports-6bb41db8de2d230dc7094adc1e6814b4d08a8f6e.zip
Notes
Diffstat (limited to 'print/freetype')
-rw-r--r--print/freetype/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/print/freetype/Makefile b/print/freetype/Makefile
index 9015a26e6ba7..a42a795ae409 100644
--- a/print/freetype/Makefile
+++ b/print/freetype/Makefile
@@ -20,14 +20,21 @@ MASTER_SITE_SUBDIR= freetype1
MAINTAINER= ports@FreeBSD.org
COMMENT= A free and portable TrueType font rendering engine
-USE_LIBTOOL_VER=13
+USE_LIBTOOL_VER=15
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --disable-nls --enable-static --enable-shared
+USE_REINPLACE= yes
.ifdef USE_FREETYPE
.error You have `USE_FREETYPE' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
+ ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|LIBTOOL =.*|LIBTOOL = ${LIBTOOL}|'
+
# Older versions of freetype installed include files in ${PREFIX}/include
# this is a compatibility hack for now