Subject: pkg/17457: pkgsrc/lang/f2c failed `make update'
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rafal@netbsd.org>
List: netbsd-bugs
Date: 07/02/2002 10:18:18
>Number:         17457
>Category:       pkg
>Synopsis:       `make update' fails in pkgsrc/lang/f2c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 02 07:19:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6B
>Organization:
Procrastinating Slackers Anonymous
>Environment:
System: NetBSD cyclops 1.6B NetBSD 1.6B (CYCLOPS.mp) #15: Thu Jun 27 00:49:05 EDT 2002 rafal@cyclops:/extra/src-current/sys/arch/i386/compile/CYCLOPS.mp i386
Architecture: i386
Machine: i386
>Description:
	A `make update' failed in pkgsrc/lang/f2c due to incorrect make 
	variables being used (${PKGSRCDIR} where a ${PKGDIR} was wanted).

>How-To-Repeat:
	Build and install pkgsrc/lang/f2c (don't think this is specific to
	`make update' but in any case if it is, then run a `make update'
	after the first install).

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/f2c/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- Makefile	2002/06/17 04:21:08	1.20
+++ Makefile	2002/07/02 14:16:28
@@ -60,7 +60,7 @@ pre-install:
 .if (${MACHINE_ARCH} == "mipsel")
 	${SED} '/lib.*_pic/d' ${PKGDIR}/PLIST > ${PLIST_SRC}
 .else
-	${CP} ${PKGSRCDIR}/PLIST ${PLIST_SRC}
+	${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
 .endif
 
 .if (${OBJECT_FMT} == "ELF")
>Release-Note:
>Audit-Trail:
>Unformatted:
 		(userland from ~ 6/27)