Subject: pkg/37596: files/uucpd/pathnames.h doesn't have @PREFIX@ sub'd out..
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <eric@tinker.cirr.com>
List: pkgsrc-bugs
Date: 12/22/2007 23:55:00
>Number: 37596
>Category: pkg
>Synopsis: files/uucpd/pathnames.h needs @PREFIX@ sub'd in..
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Dec 22 23:55:00 +0000 2007
>Originator: Eric Schnoebelen
>Release: NetBSD 4.99.34
>Organization:
>Environment:
System: NetBSD killer.cirr.com 4.99.34 NetBSD 4.99.34 (GENERIC) #17: Sat Oct 27 02:48:22 CDT 2007 eric@egsner.cirr.com:/work/eric/NetBSD-current/obj/sparc64/sys/arch/sparc64/compile/GENERIC sparc64
Architecture: sparc64
Machine: sparc64
>Description:
The uucpd that's built doesn't have the correct path to uucico.
it should be "/usr/pkg/sbin/uucico", but if you run strings on
the uucpd binary, you'll find it is "@PREFIX@/sbin/uucico".
>How-To-Repeat:
strings /usr/pkg/libexec/uucpd | grep uucico
>Fix:
Add uucpd/pathnames.h to SUBST_FILES.nbsd
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/uucp/Makefile,v
retrieving revision 1.11
diff -b -u -w -r1.11 Makefile
--- Makefile 24 Aug 2007 13:56:27 -0000 1.11
+++ Makefile 22 Dec 2007 22:35:57 -0000
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.11 2007/08/24 13:56:27 jlam Exp $
DISTNAME= uucp-1.07
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU:=uucp/}
@@ -61,7 +61,7 @@
SUBST_CLASSES+= nbsd
SUBST_STAGE.nbsd= post-configure
SUBST_MESSAGE.nbsd= Fixing Makefiles for rmail and uucpd.
-SUBST_FILES.nbsd= rmail/Makefile uucpd/Makefile
+SUBST_FILES.nbsd= rmail/Makefile uucpd/Makefile uucpd/pathnames.h
SUBST_VARS.nbsd= PREFIX PKGMANDIR UUCPD_CPPFLAGS UUCPD_LIBS \
INSTALL_PROGRAM INSTALL_MAN