openbsd-ports/print/a2ps/patches/patch-configure
ajacoutot ca71470303 - update to a2ps-4.14
- tweak license marker (from kili@)
- sync COMMENT with reality
- this needs psutils for most features
- enable delegations without needing to build_depends on the
corresponding programs so that printing for most formats will just work,
granted necessary utilities are installed

"commit it" kili@
2008-11-23 20:28:32 +00:00

123 lines
3.5 KiB
Plaintext

$OpenBSD: patch-configure,v 1.3 2008/11/23 20:28:32 ajacoutot Exp $
--- configure.orig Sat Dec 29 04:28:03 2007
+++ configure Fri Nov 21 09:44:00 2008
@@ -2519,7 +2519,7 @@ ac_config_headers="$ac_config_headers config.h"
# Specify the liba2ps version number
-LIBVERSION=1:0:0
+LIBVERSION=2:0:0
GNU_PACKAGE="GNU $PACKAGE"
@@ -25706,7 +25706,7 @@ if test "${ac_cv_lib_intl_strftime+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lintl $LIBS"
+LIBS="-lintl -liconv $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -25766,7 +25766,7 @@ if test $ac_cv_lib_intl_strftime = yes; then
#define HAVE_STRFTIME 1
_ACEOF
-LIBS="-lintl $LIBS"
+LIBS="-lintl -liconv $LIBS"
fi
fi
@@ -30760,7 +30760,7 @@ echo $ECHO_N "checking for PostScript fonts path... $E
# Find out if ghostscript is installed
ac_psfont_path=
for ac_dir in /usr/local/ghostscript/fonts \
- /usr/local/share/ghostscript/fonts;
+ ${LOCALBASE}/share/ghostscript/fonts;
do
if test "cd $ac_dir 2>/dev/null && echo *.afm"; then
ac_psfont_path="$ac_psfont_path:$ac_dir";
@@ -30855,7 +30855,7 @@ echo "${ECHO_T}$ac_cv_prog_file_link_option" >&6; };
# How to send things in the printer queue
-for ac_prog in lp lpr
+for ac_prog in lpr
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@@ -33785,10 +33785,10 @@ GMSGFMT!$GMSGFMT$ac_delim
XGETTEXT!$XGETTEXT$ac_delim
MSGMERGE!$MSGMERGE$ac_delim
USE_NLS!$USE_NLS$ac_delim
-LIBICONV!$LIBICONV$ac_delim
+LIBICONV!$LTLIBICONV$ac_delim
LTLIBICONV!$LTLIBICONV$ac_delim
-INTLLIBS!$INTLLIBS$ac_delim
-LIBINTL!$LIBINTL$ac_delim
+INTLLIBS!$LTLIBINTL$ac_delim
+LIBINTL!$LTLIBINTL$ac_delim
LTLIBINTL!$LTLIBINTL$ac_delim
POSUB!$POSUB$ac_delim
EXTRA_CFLAGS!$EXTRA_CFLAGS$ac_delim
@@ -33804,20 +33804,20 @@ LPR!$LPR$ac_delim
LPR_QUEUE_OPTION!$LPR_QUEUE_OPTION$ac_delim
MEDIUM!$MEDIUM$ac_delim
ENCODING!$ENCODING$ac_delim
-COM_gv!$COM_gv$ac_delim
+COM_gv!$ac_delim
gv!$gv$ac_delim
COM_ghostview!$COM_ghostview$ac_delim
ghostview!$ghostview$ac_delim
-COM_DISPLAY!$COM_DISPLAY$ac_delim
+COM_DISPLAY!$ac_delim
COM_gzip!$COM_gzip$ac_delim
gzip!$gzip$ac_delim
-COM_bzip!$COM_bzip$ac_delim
+COM_bzip!$ac_delim
bzip!$bzip$ac_delim
-COM_bzip2!$COM_bzip2$ac_delim
+COM_bzip2!$ac_delim
bzip2!$bzip2$ac_delim
-COM_dvips!$COM_dvips$ac_delim
+COM_dvips!$ac_delim
dvips!$dvips$ac_delim
-COM_convert!$COM_convert$ac_delim
+COM_convert!$ac_delim
convert!$convert$ac_delim
COM_netscape!$COM_netscape$ac_delim
netscape!$netscape$ac_delim
@@ -33825,14 +33825,14 @@ COM_html2ps!$COM_html2ps$ac_delim
html2ps!$html2ps$ac_delim
COM_acroread!$COM_acroread$ac_delim
acroread!$acroread$ac_delim
-COM_pdf2ps!$COM_pdf2ps$ac_delim
+COM_pdf2ps!$ac_delim
pdf2ps!$pdf2ps$ac_delim
COM_acroread4!$COM_acroread4$ac_delim
COM_distill!$COM_distill$ac_delim
distill!$distill$ac_delim
-COM_ps2pdf!$COM_ps2pdf$ac_delim
+COM_ps2pdf!$ac_delim
ps2pdf!$ps2pdf$ac_delim
-COM_PS2PDF!$COM_PS2PDF$ac_delim
+COM_PS2PDF!$ac_delim
COM_psselect!$COM_psselect$ac_delim
psselect!$psselect$ac_delim
COM_psnup!$COM_psnup$ac_delim
@@ -33842,12 +33842,12 @@ COM_grog!$COM_grog$ac_delim
grog!$grog$ac_delim
COM_makeinfo!$COM_makeinfo$ac_delim
makeinfo!$makeinfo$ac_delim
-COM_tex!$COM_tex$ac_delim
+COM_tex!$ac_delim
tex!$tex$ac_delim
COM_latex!$COM_latex$ac_delim
latex!$latex$ac_delim
COM_TEXI!$COM_TEXI$ac_delim
-COM_LATEX!$COM_LATEX$ac_delim
+COM_LATEX!$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
LTALLOCA!$LTALLOCA$ac_delim
subdirs!$subdirs$ac_delim