Subject: pkg/5823: installation of a2ps-4.10.3 fails without perl installed
To: None <gnats-bugs@gnats.netbsd.org>
From: Brook Milligan <brook@trillium.NMSU.Edu>
List: netbsd-bugs
Date: 07/23/1998 09:51:09
>Number: 5823
>Category: pkg
>Synopsis: installation of a2ps-4.10.3 fails without perl installed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 23 09:05:00 1998
>Last-Modified:
>Originator: Brook Milligan
>Organization:
>Release: # $NetBSD: Makefile,v 1.15 1998/07/17 19:08:40 tv Exp $ <NetBSD-current source date>
>Environment:
System: NetBSD linum.nmsu.edu 1.3.2 NetBSD 1.3.2 (GENERIC) #0: Sun May 24 19:45:48 EDT 1998 perry@frankenstein.piermont.com:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
When a2ps is installed without perl, the ogonkify scripts and data are not installed.
The Makefile should be fixed to install them anyway, even though the scripts will
not work (or the installation/packaging system should be informed that a different
PLIST should be used).
It also seems that the same Makefile has some dependencies on compose.in (for example, see
the patch below) that should be dependencies on compose itself. The same may be true
for ogonkify.in versus ogonkify.
>How-To-Repeat:
Install the a2ps package when perl is not installed.
>Fix:
Apply the following patch:
--- ogonkify/Makefile.in.orig Tue Jul 21 10:54:58 1998
+++ ogonkify/Makefile.in Tue Jul 21 10:56:49 1998
@@ -209,10 +209,8 @@
#
afm_DATA = $(CREATED_AFMS)
fonts_DATA = $(CREATED_PFAS)
-@WITH_OGONKIFY_TRUE@bin_SCRIPTS = ogonkify compose
-@WITH_OGONKIFY_TRUE@ogonkify_DATA = $(ENCODINGS_VECTORS) $(CREATED_FONTS) $(PSPROGS) README
-@WITH_OGONKIFY_FALSE@bin_SCRIPTS =
-@WITH_OGONKIFY_FALSE@ogonkify_DATA =
+bin_SCRIPTS = ogonkify compose
+ogonkify_DATA = $(ENCODINGS_VECTORS) $(CREATED_FONTS) $(PSPROGS) README
#
# We want to distribute the product of compose too, avoiding
@@ -525,7 +523,7 @@
#
# Suffix rules
#
-.afm.enc: compose.in
+.afm.enc: @WITH_OGONKIFY_TRUE@ compose.in
@echo "Creating $* encoding vector..."
./compose -e $< -E $*.enc
>Audit-Trail:
>Unformatted: