head	1.8;
access;
symbols
	pkgsrc-2026Q1:1.8.0.110
	pkgsrc-2026Q1-base:1.8
	pkgsrc-2025Q4:1.8.0.108
	pkgsrc-2025Q4-base:1.8
	pkgsrc-2025Q3:1.8.0.106
	pkgsrc-2025Q3-base:1.8
	pkgsrc-2025Q2:1.8.0.104
	pkgsrc-2025Q2-base:1.8
	pkgsrc-2025Q1:1.8.0.102
	pkgsrc-2025Q1-base:1.8
	pkgsrc-2024Q4:1.8.0.100
	pkgsrc-2024Q4-base:1.8
	pkgsrc-2024Q3:1.8.0.98
	pkgsrc-2024Q3-base:1.8
	pkgsrc-2024Q2:1.8.0.96
	pkgsrc-2024Q2-base:1.8
	pkgsrc-2024Q1:1.8.0.94
	pkgsrc-2024Q1-base:1.8
	pkgsrc-2023Q4:1.8.0.92
	pkgsrc-2023Q4-base:1.8
	pkgsrc-2023Q3:1.8.0.90
	pkgsrc-2023Q3-base:1.8
	pkgsrc-2023Q2:1.8.0.88
	pkgsrc-2023Q2-base:1.8
	pkgsrc-2023Q1:1.8.0.86
	pkgsrc-2023Q1-base:1.8
	pkgsrc-2022Q4:1.8.0.84
	pkgsrc-2022Q4-base:1.8
	pkgsrc-2022Q3:1.8.0.82
	pkgsrc-2022Q3-base:1.8
	pkgsrc-2022Q2:1.8.0.80
	pkgsrc-2022Q2-base:1.8
	pkgsrc-2022Q1:1.8.0.78
	pkgsrc-2022Q1-base:1.8
	pkgsrc-2021Q4:1.8.0.76
	pkgsrc-2021Q4-base:1.8
	pkgsrc-2021Q3:1.8.0.74
	pkgsrc-2021Q3-base:1.8
	pkgsrc-2021Q2:1.8.0.72
	pkgsrc-2021Q2-base:1.8
	pkgsrc-2021Q1:1.8.0.70
	pkgsrc-2021Q1-base:1.8
	pkgsrc-2020Q4:1.8.0.68
	pkgsrc-2020Q4-base:1.8
	pkgsrc-2020Q3:1.8.0.66
	pkgsrc-2020Q3-base:1.8
	pkgsrc-2020Q2:1.8.0.62
	pkgsrc-2020Q2-base:1.8
	pkgsrc-2020Q1:1.8.0.42
	pkgsrc-2020Q1-base:1.8
	pkgsrc-2019Q4:1.8.0.64
	pkgsrc-2019Q4-base:1.8
	pkgsrc-2019Q3:1.8.0.60
	pkgsrc-2019Q3-base:1.8
	pkgsrc-2019Q2:1.8.0.58
	pkgsrc-2019Q2-base:1.8
	pkgsrc-2019Q1:1.8.0.56
	pkgsrc-2019Q1-base:1.8
	pkgsrc-2018Q4:1.8.0.54
	pkgsrc-2018Q4-base:1.8
	pkgsrc-2018Q3:1.8.0.52
	pkgsrc-2018Q3-base:1.8
	pkgsrc-2018Q2:1.8.0.50
	pkgsrc-2018Q2-base:1.8
	pkgsrc-2018Q1:1.8.0.48
	pkgsrc-2018Q1-base:1.8
	pkgsrc-2017Q4:1.8.0.46
	pkgsrc-2017Q4-base:1.8
	pkgsrc-2017Q3:1.8.0.44
	pkgsrc-2017Q3-base:1.8
	pkgsrc-2017Q2:1.8.0.40
	pkgsrc-2017Q2-base:1.8
	pkgsrc-2017Q1:1.8.0.38
	pkgsrc-2017Q1-base:1.8
	pkgsrc-2016Q4:1.8.0.36
	pkgsrc-2016Q4-base:1.8
	pkgsrc-2016Q3:1.8.0.34
	pkgsrc-2016Q3-base:1.8
	pkgsrc-2016Q2:1.8.0.32
	pkgsrc-2016Q2-base:1.8
	pkgsrc-2016Q1:1.8.0.30
	pkgsrc-2016Q1-base:1.8
	pkgsrc-2015Q4:1.8.0.28
	pkgsrc-2015Q4-base:1.8
	pkgsrc-2015Q3:1.8.0.26
	pkgsrc-2015Q3-base:1.8
	pkgsrc-2015Q2:1.8.0.24
	pkgsrc-2015Q2-base:1.8
	pkgsrc-2015Q1:1.8.0.22
	pkgsrc-2015Q1-base:1.8
	pkgsrc-2014Q4:1.8.0.20
	pkgsrc-2014Q4-base:1.8
	pkgsrc-2014Q3:1.8.0.18
	pkgsrc-2014Q3-base:1.8
	pkgsrc-2014Q2:1.8.0.16
	pkgsrc-2014Q2-base:1.8
	pkgsrc-2014Q1:1.8.0.14
	pkgsrc-2014Q1-base:1.8
	pkgsrc-2013Q4:1.8.0.12
	pkgsrc-2013Q4-base:1.8
	pkgsrc-2013Q3:1.8.0.10
	pkgsrc-2013Q3-base:1.8
	pkgsrc-2013Q2:1.8.0.8
	pkgsrc-2013Q2-base:1.8
	pkgsrc-2013Q1:1.8.0.6
	pkgsrc-2013Q1-base:1.8
	pkgsrc-2012Q4:1.8.0.4
	pkgsrc-2012Q4-base:1.8
	pkgsrc-2012Q3:1.8.0.2
	pkgsrc-2012Q3-base:1.8
	pkgsrc-2012Q2:1.7.0.76
	pkgsrc-2012Q2-base:1.7
	pkgsrc-2012Q1:1.7.0.74
	pkgsrc-2012Q1-base:1.7
	pkgsrc-2011Q4:1.7.0.72
	pkgsrc-2011Q4-base:1.7
	pkgsrc-2011Q3:1.7.0.70
	pkgsrc-2011Q3-base:1.7
	pkgsrc-2011Q2:1.7.0.68
	pkgsrc-2011Q2-base:1.7
	pkgsrc-2011Q1:1.7.0.66
	pkgsrc-2011Q1-base:1.7
	pkgsrc-2010Q4:1.7.0.64
	pkgsrc-2010Q4-base:1.7
	pkgsrc-2010Q3:1.7.0.62
	pkgsrc-2010Q3-base:1.7
	pkgsrc-2010Q2:1.7.0.60
	pkgsrc-2010Q2-base:1.7
	pkgsrc-2010Q1:1.7.0.58
	pkgsrc-2010Q1-base:1.7
	pkgsrc-2009Q4:1.7.0.56
	pkgsrc-2009Q4-base:1.7
	pkgsrc-2009Q3:1.7.0.54
	pkgsrc-2009Q3-base:1.7
	pkgsrc-2009Q2:1.7.0.52
	pkgsrc-2009Q2-base:1.7
	pkgsrc-2009Q1:1.7.0.50
	pkgsrc-2009Q1-base:1.7
	pkgsrc-2008Q4:1.7.0.48
	pkgsrc-2008Q4-base:1.7
	pkgsrc-2008Q3:1.7.0.46
	pkgsrc-2008Q3-base:1.7
	cube-native-xorg:1.7.0.44
	cube-native-xorg-base:1.7
	pkgsrc-2008Q2:1.7.0.42
	pkgsrc-2008Q2-base:1.7
	cwrapper:1.7.0.40
	pkgsrc-2008Q1:1.7.0.38
	pkgsrc-2008Q1-base:1.7
	pkgsrc-2007Q4:1.7.0.36
	pkgsrc-2007Q4-base:1.7
	pkgsrc-2007Q3:1.7.0.34
	pkgsrc-2007Q3-base:1.7
	pkgsrc-2007Q2:1.7.0.32
	pkgsrc-2007Q2-base:1.7
	pkgsrc-2007Q1:1.7.0.30
	pkgsrc-2007Q1-base:1.7
	pkgsrc-2006Q4:1.7.0.28
	pkgsrc-2006Q4-base:1.7
	pkgsrc-2006Q3:1.7.0.26
	pkgsrc-2006Q3-base:1.7
	pkgsrc-2006Q2:1.7.0.24
	pkgsrc-2006Q2-base:1.7
	pkgsrc-2006Q1:1.7.0.22
	pkgsrc-2006Q1-base:1.7
	pkgsrc-2005Q4:1.7.0.20
	pkgsrc-2005Q4-base:1.7
	pkgsrc-2005Q3:1.7.0.18
	pkgsrc-2005Q3-base:1.7
	pkgsrc-2005Q2:1.7.0.16
	pkgsrc-2005Q2-base:1.7
	pkgsrc-2005Q1:1.7.0.14
	pkgsrc-2005Q1-base:1.7
	pkgsrc-2004Q4:1.7.0.12
	pkgsrc-2004Q4-base:1.7
	pkgsrc-2004Q3:1.7.0.10
	pkgsrc-2004Q3-base:1.7
	pkgsrc-2004Q2:1.7.0.8
	pkgsrc-2004Q2-base:1.7
	pkgsrc-2004Q1:1.7.0.6
	pkgsrc-2004Q1-base:1.7
	pkgsrc-2003Q4:1.7.0.4
	pkgsrc-2003Q4-base:1.7
	netbsd-1-6-1:1.7.0.2
	netbsd-1-6-1-base:1.7
	netbsd-1-6:1.6.0.6
	netbsd-1-6-RELEASE-base:1.6
	pkgviews:1.6.0.2
	pkgviews-base:1.6
	buildlink2:1.5.0.2
	buildlink2-base:1.6
	netbsd-1-5-PATCH003:1.5
	netbsd-1-5-RELEASE:1.3
	netbsd-1-4-PATCH003:1.3
	netbsd-1-4-PATCH002:1.2
	comdex-fall-1999:1.1.1.1
	netbsd-1-4-PATCH001:1.1.1.1
	netbsd-1-4-RELEASE:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.8
date	2012.09.29.06.29.01;	author dholland;	state Exp;
branches;
next	1.7;

1.7
date	2002.08.25.18.39.47;	author jlam;	state Exp;
branches;
next	1.6;

1.6
date	2002.06.30.03.58.17;	author jschauma;	state Exp;
branches;
next	1.5;

1.5
date	2001.10.01.20.51.46;	author jlam;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	2001.01.15.18.09.03;	author drochner;	state dead;
branches;
next	1.3;

1.3
date	2000.05.08.17.13.20;	author drochner;	state Exp;
branches;
next	1.2;

1.2
date	2000.02.03.19.33.01;	author drochner;	state Exp;
branches;
next	1.1;

1.1
date	99.02.28.15.17.54;	author hwr;	state Exp;
branches
	1.1.1.1;
next	;

1.5.2.1
date	2002.08.22.11.12.14;	author jlam;	state Exp;
branches;
next	;

1.1.1.1
date	99.02.28.15.17.54;	author hwr;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Recognize tcl 8.5. Should fix tcl-pdflib.
@
text
@$NetBSD: patch-aa,v 1.7 2002/08/25 18:39:47 jlam Exp $

--- configure.orig	2002-06-18 11:31:49.000000000 +0000
+++ configure
@@@@ -6090,7 +6090,7 @@@@ rm -f conftest*
 
         
     if test "$TCLINCLUDE" != "nope" -a "$TCLBIN" = "nope"; then
-	for ac_prog in tclsh tclsh8.4 tclsh8.3 tclsh8.2 tclsh8.1 tclsh8.0
+	for ac_prog in tclsh tclsh8.6 tclsh8.5 tclsh8.4 tclsh8.3 tclsh8.2 tclsh8.1 tclsh8.0
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
@@@@ -7013,9 +7013,9 @@@@ else
 
 fi
 
-PDFLIBCONVENIENT="\$(top_builddir)/pdflib/libpdf_.la $INTERNALLIBS $EXTERNALLIBS"
-PDFLIBLINKSELF="$RPATH $PDFLIBCONVENIENT"
-PDFLIBLINK="\$(top_builddir)/pdflib/libpdf.la $EXTERNALLIBS"
+PDFLIBCONVENIENT="-lpdf $EXTERNALLIBS"
+PDFLIBLINKSELF="$RPATH \$(top_builddir)/pdflib/libpdf_.la $EXTERNALLIBS"
+PDFLIBLINK="-lpdf $EXTERNALLIBS"
 
 
 
@


1.7
log
@Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.5.2.1 2002/08/22 11:12:14 jlam Exp $
d3 12
a14 3
--- configure.orig	Sat Jun 29 21:46:02 2002
+++ configure	Sat Jun 29 21:47:37 2002
@@@@ -7013,9 +7013,9 @@@@
@


1.6
log
@Update to 4.0.3 to close pkg/17395
PDFlib 4.0.3 is a free maintenance release for all customers with a 4.x
license. Your previous license key will work with this update, too.  A
detailed account of changes since PDFlib 4.0.0 is available in the change log
at http://www.pdflib.com/pdflib/changes4.txt.
@
text
@d1 1
a1 1
$NetBSD: $
@


1.5
log
@Modify package so that we can create separate packages for the different
language bindings for PDFlib: we split the Makefile in a common part and
a package-specific part, and we cause the configure script to substitute
the correct values to link against an installed libpdf.so when linking
the binding shared objects.
@
text
@d1 1
a1 1
$NetBSD$
d3 3
a5 3
--- configure.orig	Fri May 18 06:29:15 2001
+++ configure
@@@@ -3364,9 +3364,9 @@@@
d9 1
a9 1
-PDFLIBCONVENIENT="\$(top_builddir)/pdflib/libpdf_.la $INTERNALLIBS"
@


1.5.2.1
log
@Merge changes from pkgsrc-current into the buildlink2 branch for the
packages that have buildlink2.mk files.
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.6 2002/06/30 03:58:17 jschauma Exp $
d3 3
a5 3
--- configure.orig	Sat Jun 29 21:46:02 2002
+++ configure	Sat Jun 29 21:47:37 2002
@@@@ -7013,9 +7013,9 @@@@
d9 1
a9 1
-PDFLIBCONVENIENT="\$(top_builddir)/pdflib/libpdf_.la $INTERNALLIBS $EXTERNALLIBS"
@


1.4
log
@update to 3.03
Changes:
Fixes bugs related to text positioning and text box formatting
Fixes bugs in the graphics engine, mostly related to arc drawing and subpath handling
Fixes an ActiveX crash in the open_image() function.
Improves internal accuracy and output accuracy of floating point numbers for better positioning
Fine-tunes UPR and encoding handling
Allows the base 14 fonts to be embedded
Makes TIFF and JPEG handling more robust against bad files.
Detects more illegal function call sequences
Makes exceptions thrown by the font machinery configurable in favor of error return values
Many improvements for using PDFlib on IBM S/390 (iServer zSeries), including fixes for several crashes, and an EBCDIC-safe Java wrapper (binaries available soon)
Introduces a dedicated PDFlib distribution for EBCDIC systems
Adds more documentation on using the language bindings in diverse environments, e.g. Java application servers
Splits the manual in two editions: one for the PDFlib ActiveX edition, and one for the other language bindings.
Adds more examples and algorithms to the PDFlib manual
Adds examples and documentation for using PDFlib with Allaire ColdFusion
Introduces support for querying several of the existing PDFlib parameters
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.3 2000/05/08 17:13:20 drochner Exp $
d3 4
a6 3
--- configure.orig	Mon Feb 28 21:14:08 2000
+++ configure	Sat Apr 29 12:59:17 2000
@@@@ -1938,451 +1938,6 @@@@
d9 6
a15 451
-# Check for any special flags to pass to ltconfig.
-libtool_flags="--cache-file=$cache_file"
-test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
-test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
-test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
-test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
-test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
-libtool_flags="$libtool_flags --enable-dlopen"
-libtool_flags="$libtool_flags --enable-win32-dll"
-# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
-if test "${enable_libtool_lock+set}" = set; then
-  enableval="$enable_libtool_lock"
-  :
-fi
-
-test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
-test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
-
-# Check whether --with-pic or --without-pic was given.
-if test "${with_pic+set}" = set; then
-  withval="$with_pic"
-  pic_mode="$withval"
-else
-  pic_mode=default
-fi
-
-test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
-test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
-
-# Some flags need to be propagated to the compiler or linker for good
-# libtool support.
-case "$lt_target" in
-*-*-irix6*)
-  # Find out which ABI we are using.
-  echo '#line 1976 "configure"' > conftest.$ac_ext
-  if { (eval echo configure:1977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-    case "`/usr/bin/file conftest.o`" in
-    *32-bit*)
-      LD="${LD-ld} -32"
-      ;;
-    *N32*)
-      LD="${LD-ld} -n32"
-      ;;
-    *64-bit*)
-      LD="${LD-ld} -64"
-      ;;
-    esac
-  fi
-  rm -rf conftest*
-  ;;
-
-*-*-sco3.2v5*)
-  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
-  SAVE_CFLAGS="$CFLAGS"
-  CFLAGS="$CFLAGS -belf"
-  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
-echo "configure:1998: checking whether the C compiler needs -belf" >&5
-if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  cat > conftest.$ac_ext <<EOF
-#line 2003 "configure"
-#include "confdefs.h"
-
-int main() {
-
-; return 0; }
-EOF
-if { (eval echo configure:2010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
-  lt_cv_cc_needs_belf=yes
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -rf conftest*
-  lt_cv_cc_needs_belf=no
-fi
-rm -f conftest*
-fi
-
-echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
-    CFLAGS="$SAVE_CFLAGS"
-  fi
-  ;;
-
-*-*-cygwin* | *-*-mingw*)
-  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
-set dummy ${ac_tool_prefix}dlltool; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2033: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  if test -n "$DLLTOOL"; then
-  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
-else
-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$ac_word; then
-      ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
-fi
-fi
-DLLTOOL="$ac_cv_prog_DLLTOOL"
-if test -n "$DLLTOOL"; then
-  echo "$ac_t""$DLLTOOL" 1>&6
-else
-  echo "$ac_t""no" 1>&6
-fi
-
-
-if test -z "$ac_cv_prog_DLLTOOL"; then
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "dlltool", so it can be a program name with args.
-set dummy dlltool; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2065: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  if test -n "$DLLTOOL"; then
-  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
-else
-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$ac_word; then
-      ac_cv_prog_DLLTOOL="dlltool"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
-  test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false"
-fi
-fi
-DLLTOOL="$ac_cv_prog_DLLTOOL"
-if test -n "$DLLTOOL"; then
-  echo "$ac_t""$DLLTOOL" 1>&6
-else
-  echo "$ac_t""no" 1>&6
-fi
-
-else
-  DLLTOOL="false"
-fi
-fi
-
-  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
-set dummy ${ac_tool_prefix}as; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2100: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  if test -n "$AS"; then
-  ac_cv_prog_AS="$AS" # Let the user override the test.
-else
-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$ac_word; then
-      ac_cv_prog_AS="${ac_tool_prefix}as"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
-fi
-fi
-AS="$ac_cv_prog_AS"
-if test -n "$AS"; then
-  echo "$ac_t""$AS" 1>&6
-else
-  echo "$ac_t""no" 1>&6
-fi
-
-
-if test -z "$ac_cv_prog_AS"; then
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "as", so it can be a program name with args.
-set dummy as; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2132: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  if test -n "$AS"; then
-  ac_cv_prog_AS="$AS" # Let the user override the test.
-else
-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$ac_word; then
-      ac_cv_prog_AS="as"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
-  test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false"
-fi
-fi
-AS="$ac_cv_prog_AS"
-if test -n "$AS"; then
-  echo "$ac_t""$AS" 1>&6
-else
-  echo "$ac_t""no" 1>&6
-fi
-
-else
-  AS="false"
-fi
-fi
-
-  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
-set dummy ${ac_tool_prefix}objdump; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2167: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  if test -n "$OBJDUMP"; then
-  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
-else
-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$ac_word; then
-      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
-fi
-fi
-OBJDUMP="$ac_cv_prog_OBJDUMP"
-if test -n "$OBJDUMP"; then
-  echo "$ac_t""$OBJDUMP" 1>&6
-else
-  echo "$ac_t""no" 1>&6
-fi
-
-
-if test -z "$ac_cv_prog_OBJDUMP"; then
-if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "objdump", so it can be a program name with args.
-set dummy objdump; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2199: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  if test -n "$OBJDUMP"; then
-  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
-else
-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$ac_word; then
-      ac_cv_prog_OBJDUMP="objdump"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
-  test -z "$ac_cv_prog_OBJDUMP" && ac_cv_prog_OBJDUMP="false"
-fi
-fi
-OBJDUMP="$ac_cv_prog_OBJDUMP"
-if test -n "$OBJDUMP"; then
-  echo "$ac_t""$OBJDUMP" 1>&6
-else
-  echo "$ac_t""no" 1>&6
-fi
-
-else
-  OBJDUMP="false"
-fi
-fi
-
-
-  # recent cygwin and mingw systems supply a stub DllMain which the user
-  # can override, but on older systems we have to supply one
-  echo $ac_n "checking if libtool should supply DllMain function""... $ac_c" 1>&6
-echo "configure:2235: checking if libtool should supply DllMain function" >&5
-if eval "test \"`echo '$''{'lt_cv_need_dllmain'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  cat > conftest.$ac_ext <<EOF
-#line 2240 "configure"
-#include "confdefs.h"
-
-int main() {
-extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
-      DllMain (0, 0, 0);
-; return 0; }
-EOF
-if { (eval echo configure:2248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
-  lt_cv_need_dllmain=yes
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -rf conftest*
-  lt_cv_need_dllmain=no
-fi
-rm -f conftest*
-fi
-
-echo "$ac_t""$lt_cv_need_dllmain" 1>&6
-
-  case "$lt_target/$CC" in
-  *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
-    # old mingw systems require "-dll" to link a DLL, while more recent ones
-    # require "-mdll"
-    SAVE_CFLAGS="$CFLAGS"
-    CFLAGS="$CFLAGS -mdll"
-    echo $ac_n "checking how to link DLLs""... $ac_c" 1>&6
-echo "configure:2269: checking how to link DLLs" >&5
-if eval "test \"`echo '$''{'lt_cv_cc_dll_switch'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  cat > conftest.$ac_ext <<EOF
-#line 2274 "configure"
-#include "confdefs.h"
-
-int main() {
-
-; return 0; }
-EOF
-if { (eval echo configure:2281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
-  lt_cv_cc_dll_switch=-mdll
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -rf conftest*
-  lt_cv_cc_dll_switch=-dll
-fi
-rm -f conftest*
-fi
-
-echo "$ac_t""$lt_cv_cc_dll_switch" 1>&6
-    CFLAGS="$SAVE_CFLAGS" ;;
-  *-*-cygwin*)
-    # cygwin systems need to pass --dll to the linker, and not link
-    # crt.o which will require a WinMain@@16 definition.
-    lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
-  esac
-  ;;
-  
-esac
-
-
-# Save cache, so that ltconfig can load it
-cat > confcache <<\EOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs.  It is not useful on other systems.
-# If it contains results you don't want to keep, you may remove or edit it.
-#
-# By default, configure uses ./config.cache as the cache file,
-# creating it if it does not exist already.  You can give configure
-# the --cache-file=FILE option to use a different cache file; that is
-# what configure does when it calls configure scripts in
-# subdirectories, so they share the cache.
-# Giving --cache-file=/dev/null disables caching, for debugging configure.
-# config.status only pays attention to the cache file if you give it the
-# --recheck option to rerun configure.
-#
-EOF
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, don't put newlines in cache variables' values.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(set) 2>&1 |
-  case `(ac_space=' '; set | grep ac_space) 2>&1` in
-  *ac_space=\ *)
-    # `set' does not quote correctly, so add quotes (double-quote substitution
-    # turns \\\\ into \\, and sed turns \\ into \).
-    sed -n \
-      -e "s/'/'\\\\''/g" \
-      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
-    ;;
-  *)
-    # `set' quotes correctly as required by POSIX, so do not add quotes.
-    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
-    ;;
-  esac >> confcache
-if cmp -s $cache_file confcache; then
-  :
-else
-  if test -w $cache_file; then
-    echo "updating cache $cache_file"
-    cat confcache > $cache_file
-  else
-    echo "not updating unwritable cache $cache_file"
-  fi
-fi
-rm -f confcache
-
-
-# Actually configure libtool.  ac_aux_dir is where install-sh is found.
-AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
-FILE="$FILE" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
-LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
-AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
-objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
-deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
-$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $lt_target \
-|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
-
-# Reload cache, that may have been modified by ltconfig
-if test -r "$cache_file"; then
-  echo "loading cache $cache_file"
-  . $cache_file
-else
-  echo "creating cache $cache_file"
-  > $cache_file
-fi
-
-
-# This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
-
-# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-
-# Redirect the config.log output again, so that the ltconfig log is not
-# clobbered by the next message.
-exec 5>>./config.log
-
-
-
 
 
 
@@@@ -3897,10 +3452,6 @@@@
 BINDINGS_UNINSTALL=""
 BINDINGS_TEST="pdflib_c_test"
a16 4
-
-if ${CONFIG_SHELL-/bin/sh} ./libtool --features | grep "disable shared" >/dev/null; then
-    WITH_SHARED=no
-fi
a17 2
 if test "$WITH_SHARED" = "no" ; then
     WITH_JAVA=no;
@


1.3
log
@update to 3.0
too many changes since 2.01 to list here, the most visible for me is that it
is libtoolized - see doc/changes.txt for the rest
@
text
@d1 1
a1 1
$NetBSD$
@


1.2
log
@Upgrade to pdflib-2.01. Changes include a new (autoconf based) build
environment, bugfixes and documentation improvements.
@
text
@d3 4
a6 55
--- pdflib/Makefile.in.orig	Tue Aug  3 14:59:53 1999
+++ pdflib/Makefile.in	Wed Feb  2 21:31:11 2000
@@@@ -8,7 +8,7 @@@@
 srcdir = @@srcdir@@
 
 EXE	= @@EXE@@
-OBJ	= @@OBJ@@
+OBJ	= lo
 AR	= @@AR@@
 CC	= @@CC@@
 RM      = @@RM@@
@@@@ -30,16 +30,16 @@@@
 LDSHARED = @@LDSHARED@@
 
 # Either pdflib.a or pdflib.so, selected by configure script
-PDFLIB		= @@PDFLIB@@
+PDFLIB		= libpdf.la
 PDFLIB_STATIC	= @@PDFLIB_STATIC@@
-PDFLIB_SHARED	= @@PDFLIB_SHARED@@
+PDFLIB_SHARED	= libpdf.la
 
 CFLAGS = -c @@DEFS@@ @@DEFINES@@ @@CCSHARED@@ $(TIFFINC) $(ZLIBINC)
 
-.SUFFIXES: .c
+.SUFFIXES: .lo
 
-.c.o:
-	$(CC) $(CFLAGS) $(DEFINES) $<
+.c.lo:
+	${LIBTOOL} --mode=compile $(CC) $(CFLAGS) $(DEFINES) $<
 
 SRC	= \
 	$(srcdir)/p_afmparse.c	\
@@@@ -86,7 +86,8 @@@@
 
 $(PDFLIB_SHARED):	$(OBJS)
 	$(RM) $(PDFLIB_STATIC) $(PDFLIB_SHARED)
-	$(LDSHARED) -o $(PDFLIB_SHARED) $(OBJS)
+	${LIBTOOL} --mode=link ${CC} -o $(PDFLIB_SHARED) $(OBJS) \
+		-rpath ${prefix}/lib -version-info 2:1
 
 clean:
 	-$(RM) $(OBJS) $(PDFLIB_STATIC) $(PDFLIB_SHARED)
@@@@ -96,13 +97,7 @@@@
 
 install: $(PDFLIB)
 	$(INSTALL) pdflib.h $(includedir)
-	$(INSTALL) $(PDFLIB) $(libdir)
-	cd $(libdir);						\
-	if test $(PDFLIB) != $(PDFLIB_STATIC); then		\
-		(ldconfig || true)  >/dev/null 2>&1; 		\
-	else							\
-		$(RANLIB) $(libdir)/$(PDFLIB_STATIC);		\
-        fi
+	${LIBTOOL} --mode=install $(INSTALL) $(PDFLIB) $(libdir)
d8 460
a467 2
 uninstall:
 	-$(RM) $(includedir)/pdflib.h
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
$NetBSD:$
d3 55
a57 49
--- Makefile.orig	Sun Feb 28 15:36:30 1999
+++ Makefile	Sun Feb 28 15:37:40 1999
@@@@ -37,32 +37,32 @@@@
 # TIFF and JPEG are not currently supported along with scripting
 
 #DEFINES	= -DUSE_TIFF
-DEFINES		= 
+DEFINES		= -DPOSIX -DUSE_ZLIB
 EXTRALIBS	= 
 
 # ------------------- SWIG related stuff ----------------------------------
 SWIG		= swig
 
-PDFLIB_TCL	= BINDINGS/TCL/pdflib.so
-SWIGOPT_TCL	= -tcl -DTCL -d pdflib_tcl
-TCL_OBJS	= pdftcl_wrap.o
-TCL_INC		= 
-
-PDFLIB_PYTHON	= BINDINGS/PYTHON/pdflib.so
-SWIGOPT_PYTHON	= -python -d pdflib_python
-PYTHON_OBJS	= pdfpython_wrap.o
-PYTHON_INC	= -I/usr/include/python1.4
-
-PDFLIB_PERL	= BINDINGS/PERL/pdflib.so
-SWIGOPT_PERL	= -perl5 -shadow -DPERL5 -d pdflib_perl
-PERL_OBJS	= pdfperl_wrap.o
-PERL_INC	= -I/usr/lib/perl5/i586-linux/5.004/CORE
+#PDFLIB_TCL	= BINDINGS/TCL/pdflib.so
+#SWIGOPT_TCL	= -tcl -DTCL -d pdflib_tcl
+#TCL_OBJS	= pdftcl_wrap.o
+#TCL_INC		= -I/@@PREFIX@@/include/tcl8.0
+
+#PDFLIB_PYTHON	= BINDINGS/PYTHON/pdflib.so
+#SWIGOPT_PYTHON	= -python -d pdflib_python
+#PYTHON_OBJS	= pdfpython_wrap.o
+#PYTHON_INC	= -I/usr/include/python1.4
+
+#PDFLIB_PERL	= BINDINGS/PERL/pdflib.so
+#SWIGOPT_PERL	= -perl5 -shadow -DPERL5 -d pdflib_perl
+#PERL_OBJS	= pdfperl_wrap.o
+#PERL_INC	= -I/usr/local/lib/perl5/i386-netbsd/5.00404/CORE
 
 SWIG_OBJS	= $(TCL_OBJS) $(PYTHON_OBJS) $(PERL_OBJS)
 
 # ------------------- Make variables for Linux/Gnu Compiler ----------------
 # Additional include directories, e.g. for TIFF and ZLIB library headers
-INCDIR	= -I/usr/local/include $(TCL_INC) $(PYTHON_INC) $(PERL_INC)
+INCDIR	= -I/usr/local/include -I/usr/pkg/include $(TCL_INC) $(PYTHON_INC) $(PERL_INC)
 CC	= gcc
d59 2
a60 1
 # needed only for swig
@


1.1.1.1
log
@Pdflib 0.6 A library to generate PDF documents.

XXX One of our pkg-gurus should probably look at this, as 
a) /usr/pkg is a the moment hardwired
b) no builtin support for perl/phyton/tcl is yet enabled (I don't want
to build phyton in order to build the pdflib package).
@
text
@@
