aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2012-04-07 23:30:02 +0800
committerhrs <hrs@FreeBSD.org>2012-04-07 23:30:02 +0800
commit7f725e37fa709bea646b66cf2d9fbbdbd6027a78 (patch)
tree36fc6055fef5f71794eeb7e7bf2a455b0d7d44f3 /print
parent200dbc0f61b45d0c82e61ae451161e2213893745 (diff)
downloadfreebsd-ports-gnome-7f725e37fa709bea646b66cf2d9fbbdbd6027a78.tar.gz
freebsd-ports-gnome-7f725e37fa709bea646b66cf2d9fbbdbd6027a78.tar.zst
freebsd-ports-gnome-7f725e37fa709bea646b66cf2d9fbbdbd6027a78.zip
Fix build. FT_BRIDGE=1 no longer needs FT_* variables, and the freetype
directory has been removed to prevent it from being used accidentally. Feature safe: yes
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript9/Makefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/print/ghostscript9/Makefile b/print/ghostscript9/Makefile
index 4951f41aa53c..9cbd9a7cde38 100644
--- a/print/ghostscript9/Makefile
+++ b/print/ghostscript9/Makefile
@@ -95,7 +95,7 @@ MLINKS= gslp.1 gsbj.1 \
ps2pdf.1 ps2pdf14.1 \
ps2ps.1 eps2eps.1
-EXCLUDE_DIRS= jbig2dec jpeg expat jasper libpng tiff zlib
+EXCLUDE_DIRS= freetype jbig2dec jpeg expat jasper libpng tiff zlib
.include "Makefile.drivers"
.include <bsd.port.pre.mk>
@@ -137,8 +137,7 @@ CONFIGURE_ARGS+= --disable-fontconfig
# FT_BRIDGE=1 by default
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
-MAKE_ENV+= FT_BRIDGE=1 FT_ROOT="${WRKSRC}/freetype" FT_LIB_EXT=".so"
-CPPFLAGS+= -I${LOCALBASE}/include/freetype2
+MAKE_ENV+= FT_BRIDGE=1
ALL_TARGET= so
INSTALL_TARGET= soinstall
@@ -187,16 +186,6 @@ pre-build-drivers.mak:
pre-build: pre-build-drivers.mak
${MKDIR} ${WRKSRC}/obj
${MKDIR} ${WRKSRC}/bin
-.if defined(WITH_FT_BRIDGE)
- ${MKDIR} ${WRKSRC}/freetype/include
- ${LN} -s -f ${LOCALBASE}/include/ft2build.h \
- ${WRKSRC}/freetype/include/ft2build.h
- ${LN} -s -f ${LOCALBASE}/include/freetype2/freetype \
- ${WRKSRC}/freetype/include/freetype
- ${MKDIR} ${WRKSRC}/freetype/objs
- ${LN} -s -f ${LOCALBASE}/lib/libfreetype.so \
- ${WRKSRC}/freetype/objs/freetype214MT_D.so
-.endif
pre-install:
cd ${WRKSRC}/Resource/Init && ${RM} -f \