aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJing-Tang Keith Jang <keith@FreeBSD.org>2001-01-24 17:26:20 +0000
committerJing-Tang Keith Jang <keith@FreeBSD.org>2001-01-24 17:26:20 +0000
commitcf4dd0da67f0d40b1a1e0708b307d015b884b292 (patch)
treea65e8e8c54dad97bf9d6df645a0f61605698392b
parenta79343f08e9bcd12458e256775a12c0f0a14530c (diff)
downloadports-cf4dd0da67f0d40b1a1e0708b307d015b884b292.tar.gz
ports-cf4dd0da67f0d40b1a1e0708b307d015b884b292.zip
Notes
-rw-r--r--graphics/xpdf/Makefile11
-rw-r--r--graphics/xpdf/distinfo2
-rw-r--r--graphics/xpdf/files/patch-aa36
3 files changed, 15 insertions, 34 deletions
diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile
index ecd3afee524f..dc17b98ddcc4 100644
--- a/graphics/xpdf/Makefile
+++ b/graphics/xpdf/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xpdf
-PORTVERSION= 0.91
+PORTVERSION= 0.92
CATEGORIES= graphics print
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
${MASTER_SITE_TEX_CTAN}
@@ -15,18 +15,19 @@ EXTRACT_SUFX= .tgz
MAINTAINER= chuckr@FreeBSD.org
-LIB_DEPENDS= t1.1:${PORTSDIR}/devel/t1lib \
- ttf.4:${PORTSDIR}/print/freetype
+LIB_DEPENDS= t1.1:${PORTSDIR}/devel/t1lib
USE_X_PREFIX= yes
USE_XPM= yes
+USE_FREETYPE= yes
USE_AUTOCONF= yes
CONFIGURE_ARGS= --with-gzip --enable-opi \
- --enable-japanese --enable-chinese \
+ --enable-japanese \
+ --enable-chinese-cns --enable-chinese-gb \
--with-t1-library=${LOCALBASE}/lib \
--with-t1-includes=${LOCALBASE}/include \
--with-freetype-library=${LOCALBASE}/lib \
- --with-freetype-includes=${LOCALBASE}/include
+ --with-freetype-includes=${LOCALBASE}/include/freetype
.if defined(A4)
CONFIGURE_ARGS+= --enable-a4-paper
.endif
diff --git a/graphics/xpdf/distinfo b/graphics/xpdf/distinfo
index d2644fca6c71..e4058dc57d7b 100644
--- a/graphics/xpdf/distinfo
+++ b/graphics/xpdf/distinfo
@@ -1 +1 @@
-MD5 (xpdf-0.91.tgz) = dd675fe691ba7341f2f581e67d724bcb
+MD5 (xpdf-0.92.tgz) = 2d6e9fb157db928bd0cca4214ddd2c80
diff --git a/graphics/xpdf/files/patch-aa b/graphics/xpdf/files/patch-aa
index 27d0c31e24af..dd9da126dbb0 100644
--- a/graphics/xpdf/files/patch-aa
+++ b/graphics/xpdf/files/patch-aa
@@ -1,39 +1,19 @@
---- configure.in.org Fri Sep 1 14:35:10 2000
-+++ configure.in Fri Sep 1 14:21:53 2000
-@@ -75,6 +75,7 @@
- dnl ##### Checks for header files.
- AC_PATH_XTRA
- AC_HEADER_DIRENT
-+AC_CHECK_HEADERS(unistd.h)
-
- dnl ##### Switch over to C++. This will make the checks below a little
- dnl ##### bit stricter (requiring function prototypes in include files).
-@@ -173,11 +174,27 @@
- dnl # include file (e.g., in cygwin 1.1.2).
- AC_CACHE_CHECK([for mkstemp],
- xpdf_cv_func_mkstemp,
--[AC_TRY_COMPILE([#include <stdlib.h>],
-+[AC_TRY_COMPILE([#include <stdlib.h>
-+#ifdef HAVE_UNISTD_H
-+#include <unistd.h>
-+#endif
-+],
- [mkstemp("foo");],
- xpdf_cv_func_mkstemp=yes, xpdf_cv_func_mkstemp=no)])
+--- configure.in.orig Mon Dec 4 13:28:07 2000
++++ configure.in Thu Jan 11 21:05:07 2001
+@@ -183,6 +183,16 @@
if test "$xpdf_cv_func_mkstemp" = yes; then
AC_DEFINE(HAVE_MKSTEMP)
-+fi
+ fi
+dnl # Ditto mkstemps()
+AC_CACHE_CHECK([for mkstemps],
+xpdf_cv_func_mkstemps,
-+[AC_TRY_COMPILE([#include <stdlib.h>
-+#ifdef HAVE_UNISTD_H
-+#include <unistd.h>
-+#endif],
++[AC_TRY_LINK([#include <stdlib.h>
++#include <unistd.h>],
+[mkstemps("foo", 0);],
+xpdf_cv_func_mkstemps=yes, xpdf_cv_func_mkstemps=no)])
+if test "$xpdf_cv_func_mkstemps" = yes; then
+ AC_DEFINE(HAVE_MKSTEMPS)
- fi
++fi
dnl ##### Check select argument type: on HP-UX before version 10, select
+ dnl ##### takes (int *) instead of (fd_set *).