NetBSD Problem Report #5823

Received: (qmail 6869 invoked from network); 23 Jul 1998 15:51:20 -0000
Message-Id: <199807231551.JAA03842@linum.nmsu.edu>
Date: Thu, 23 Jul 1998 09:51:09 -0600 (MDT)
From: Brook Milligan <brook@evolution.nmsu.edu>
Reply-To: brook@evolution.nmsu.edu
To: gnats-bugs@gnats.netbsd.org
Subject: installation of a2ps-4.10.3 fails without perl installed
X-Send-Pr-Version: 3.95

>Number:         5823
>Category:       pkg
>Synopsis:       installation of a2ps-4.10.3 fails without perl installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    packages
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 23 09:05:00 +0000 1998
>Closed-Date:    Sat Mar 06 11:04:09 +0000 1999
>Last-Modified:  Sat Mar 06 11:04:37 +0000 1999
>Originator:     Brook Milligan
>Release:        # $NetBSD: Makefile,v 1.15 1998/07/17 19:08:40 tv Exp $ <NetBSD-current source date>
>Organization:

>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

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: frueauf 
State-Changed-When: Tue Jul 28 04:18:14 PDT 1998 
State-Changed-Why:  
I set USE_PERL5=YES in the package Makefile to ensure we have perl while 
installing the package, so this should fix part one of your pr. I can't 
see the problem with the second part of your pr, at least for me 
building and installing ogonkify does work like expected. 

Can ypu please feedback if the problem is solved with setting USE_PERL5=YES, 
and if not, explain a bit whats the problem in second part? 

Thanx in advance! 

Greets 
Thorsten 
Responsible-Changed-From-To: gnats-admin->packages 
Responsible-Changed-By: fair 
Responsible-Changed-When: Tue Dec 29 23:57:27 PST 1998 
Responsible-Changed-Why:  
This PR is the responsibility of the NetBSD packages folks, 
not the GNATS database administrator. 
State-Changed-From-To: feedback->closed 
State-Changed-By: fair 
State-Changed-When: Sat Mar 6 03:04:09 PST 1999 
State-Changed-Why:  
PR submitter confirms fix. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.