aboutsummaryrefslogtreecommitdiff
path: root/devel/libast
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2004-08-08 15:53:01 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2004-08-08 15:53:01 +0000
commit124cc15b6db91835fde81e6b7fcd79d5949ccb34 (patch)
tree1641a8b8460243c1c2007380fb744fd5e6fbfc49 /devel/libast
parent622f5acd686c991386b46b266d6a1a921714b01a (diff)
downloadports-124cc15b6db91835fde81e6b7fcd79d5949ccb34.tar.gz
ports-124cc15b6db91835fde81e6b7fcd79d5949ccb34.zip
remove USE_FREETYPE, in the fact, libast don't need freetype library.
Notes
Notes: svn path=/head/; revision=115648
Diffstat (limited to 'devel/libast')
-rw-r--r--devel/libast/Makefile5
-rw-r--r--devel/libast/files/patch-libast.m411
2 files changed, 14 insertions, 2 deletions
diff --git a/devel/libast/Makefile b/devel/libast/Makefile
index 89bf58d63c51..4d22912dd9d6 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 000000000000..ebb738c1397d
--- /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)