freebsd-ports/graphics/bmeps/files/patch-ab
Norikatsu Shigemura 407c5eaf87 Add a bmeps 1.0.7a, a bitmap images (PNG/JPEG/NetPBM) to EPS converter.
Submitted by:	rushani@
Committed at:	10th EBUG Meeting in Tokamachi City, Niigata, Japan
2004-05-29 16:49:47 +00:00

20 lines
824 B
Text

--- configure.in.orig Tue Jan 6 16:44:59 2004
+++ configure.in Tue Jan 6 16:45:16 2004
@@ -15,7 +15,7 @@
AC_HEADER_CHECK(io.h, AC_DEFINE(HAVE_IO_H))
AC_HEADER_CHECK(fcntl.h, AC_DEFINE(HAVE_FCNTL_H))
AC_HAVE_FUNCS(strcasecmp stricmp unlink remove getpid)
-AC_HAVE_FUNCS(getmode _getmode setmode _setmode fileno _fileno)
+dnl AC_HAVE_FUNCS(getmode _getmode setmode _setmode fileno _fileno)
AC_CHECK_LIB(z, deflate, ZLIB='-lz';AC_DEFINE(HAVE_ZLIB),ZLIB='')
AC_SUBST(ZLIB)
echo "Checking for libpng... "
@@ -39,7 +39,7 @@
xelval maxval;
cols = rows = format = 0;
pnm_readpnminit(stdin, &cols, &rows, &maxval, &format);
-],echo yes;LIBPNM='-lpnm -lppm -lpgm -lpbm';AC_DEFINE(HAVE_PNM_H),LIBPNM='';echo no)
+],echo yes;LIBPNM='-lnetpbm';AC_DEFINE(HAVE_PNM_H),LIBPNM='';echo no)
AC_SUBST(LIBPNM)
AC_OUTPUT(Makefile)