summaryrefslogtreecommitdiffstats
path: root/cad/gschem
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-03-11 17:14:29 +0000
committerijliao <ijliao@FreeBSD.org>2002-03-11 17:14:29 +0000
commite208ba2549b3843ed33d3e9e1e577f30e527a2da (patch)
tree52076a0c45c29a239523652d0139e8fd75d80ed7 /cad/gschem
parentd62dc2f05c394a8bb3382b457b45f0caa75ee27e (diff)
downloadFreeBSD-ports-e208ba2549b3843ed33d3e9e1e577f30e527a2da.zip
FreeBSD-ports-e208ba2549b3843ed33d3e9e1e577f30e527a2da.tar.gz
make it buildable
fix last submit/commit Submitted by: bsd, maintainer
Diffstat (limited to 'cad/gschem')
-rw-r--r--cad/gschem/files/patch-aa79
1 files changed, 0 insertions, 79 deletions
diff --git a/cad/gschem/files/patch-aa b/cad/gschem/files/patch-aa
deleted file mode 100644
index 3e4ab77..0000000
--- a/cad/gschem/files/patch-aa
+++ /dev/null
@@ -1,79 +0,0 @@
---- /usr/ports/cad/gschem/work/gschem/configure.in Mon Mar 5 00:45:50 2001
-+++ configure.in Thu Mar 8 19:04:23 2001
-@@ -142,44 +142,41 @@
- # search for libgdgeda-config
- AC_PATH_PROG(LIBGDGEDACONFIG, libgdgeda-config, no, ${PATH})
-
--if test $LIBGDGEDACONFIG = "no"; then
-+if test $LIBGDGEDACONFIG = "no" -o no_gdgeda = yes; then
-+ GDGEDA_LIB=""
- libgdgeda_ldflags=""
- libgdgeda_cflags=""
- else
- libgdgeda_ldflags=`$LIBGDGEDACONFIG --libs`
- libgdgeda_cflags=`$LIBGDGEDACONFIG --cflags`
- GD_EXTRA="$libgdgeda_cflags $libgdgeda_ldflags -lm"
--fi
--
--AC_CHECK_LIB(gdgeda, gdImageColorAllocate, GDGEDA_LIB="-lgdgeda", GDGEDA_LIB=no, $GD_EXTRA)
--
-+ X_CFLAGS="$libgdgeda_cflags"
-
--
--if test $GDGEDA_LIB = no; then
-- GDGEDA_LIB=""
--else
-- if test "$no_gdgeda" = "yes"; then
-- echo found libgdgeda, but disabling gdgeda
-- GDGEDA_LIB=""
-- libgdgeda_ldflags=""
-- libgdgeda_cflags=""
-- else
-- AC_CHECK_LIB(z, zlibVersion, Z_LIB="-lz", Z_LIB=no)
-- if test $Z_LIB = no; then
-- AC_MSG_ERROR(Cannot find libz (zlib), be sure to install zlib; it is required for libgdgeda)
-- fi
-+ AC_CHECK_LIB(z, uncompress, Z_LIB="-lz", Z_LIB=no)
-+ if test $Z_LIB = no; then
-+ AC_MSG_ERROR(Cannot find libz (zlib), be sure to install zlib; it is required for libgdgeda)
-+ else
-
- PNG_EXTRA="-lz -lm"
- AC_CHECK_LIB(png, png_read_init, PNG_LIB="-lpng", PNG_LIB=no, $PNG_EXTRA)
-+
- if test $PNG_LIB = no; then
- AC_MSG_ERROR(Cannot find libpng, be sure to install png; it is required for libgdgeda)
-- fi
--
--
-- AC_DEFINE(HAS_LIBZ)
-- AC_DEFINE(HAS_LIBPNG)
-- AC_DEFINE(HAS_LIBGDGEDA)
-- fi
-+ else
-+ GD_EXTRA="-lpng"
-+ AC_CHECK_LIB(gdgeda, gdImageColorAllocate, GDGEDA_LIB="-lgdgeda", GDGEDA_LIB=no, $GD_EXTRA)
-+
-+ if test $GDGEDA_LIB = no; then
-+ GDGEDA_LIB=""
-+ libgdgeda_ldflags=""
-+ libgdgeda_cflags=""
-+ else
-+ AC_DEFINE(HAS_LIBZ)
-+ AC_DEFINE(HAS_LIBPNG)
-+ AC_DEFINE(HAS_LIBGDGEDA)
-+ fi
-+ fi
-+ fi
- fi
-
- # search for gtkextra-config
-@@ -240,7 +237,7 @@
- dnl CFLAGS="$CFLAGS $CFEXTRA `$GTK_CONFIG --cflags`"
-
- CFLAGS="`$GTK_CONFIG --cflags` $CFLAGS $CFEXTRA"
--LDFLAGS="$LDEXTRA `$GTK_CONFIG --libs` -lgtk -lgdk -lglib $LDFLAGS -lm"
-+LDFLAGS="$LDEXTRA `$GTK_CONFIG --libs` $LDFLAGS -lm"
-
- AC_MSG_CHECKING([for the rest of gtk])
- AC_TRY_COMPILE(
OpenPOWER on IntegriCloud