From 75f14d0e3d375afa54d36a882323574db60faba1 Mon Sep 17 00:00:00 2001 From: vanilla Date: Sun, 8 Aug 2004 15:53:01 +0000 Subject: remove USE_FREETYPE, in the fact, libast don't need freetype library. --- devel/libast/Makefile | 5 +++-- devel/libast/files/patch-libast.m4 | 11 +++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 devel/libast/files/patch-libast.m4 (limited to 'devel/libast') diff --git a/devel/libast/Makefile b/devel/libast/Makefile index 89bf58d63c5..4d22912dd9d 100644 --- a/devel/libast/Makefile +++ b/devel/libast/Makefile @@ -7,6 +7,7 @@ PORTNAME= libast PORTVERSION= 0.5 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.eterm.org/download/ @@ -17,8 +18,8 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \ Imlib2.2:${PORTSDIR}/graphics/imlib2 USE_X_PREFIX= yes -USE_FREETYPE= yes -USE_INC_LIBTOOL_VER= 13 +USE_GNOME= gnomehack +USE_LIBTOOL_VER= 15 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" INSTALLS_SHLIB= yes diff --git a/devel/libast/files/patch-libast.m4 b/devel/libast/files/patch-libast.m4 new file mode 100644 index 00000000000..ebb738c1397 --- /dev/null +++ b/devel/libast/files/patch-libast.m4 @@ -0,0 +1,11 @@ +--- libast.m4.orig Sun Aug 8 22:35:57 2004 ++++ libast.m4 Sun Aug 8 22:36:15 2004 +@@ -199,8 +199,6 @@ + LIBAST_IMLIB2_SUPPORT="" + if test $USE_IMLIB -eq 1 ; then + AC_CHECK_LIB(m, pow, LIBS="-lm $LIBS") +- AC_CHECK_LIB(dl, dlopen, LIBS="-ldl $LIBS") +- AC_CHECK_LIB(ttf, TT_Init_FreeType, GRLIBS="-lttf $GRLIBS", , $GRLIBS) + AC_CHECK_LIB(Imlib2, imlib_create_image, [ + GRLIBS="-lImlib2 $GRLIBS" + AC_DEFINE(LIBAST_IMLIB2_SUPPORT) -- cgit