Subject: pkg/18623: mail/bmf fails to build due to pkgsrc makefile bug
To: None <gnats-bugs@gnats.netbsd.org>
From: None <douglas@fang.demon.co.uk>
List: netbsd-bugs
Date: 10/11/2002 21:24:44
>Number: 18623
>Category: pkg
>Synopsis: mail/bmf fails to build due to pkgsrc makefile bug
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 11 13:25:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.5.3
>Organization:
>Environment:
System: NetBSD aoife.home 1.5.3 NetBSD 1.5.3 (AOIFE) #0: Wed Jul 3 03:34:13 BST 2002 root@aoife.home:/opt/netbsd/1.5/usr/src/sys/arch/i386/compile/AOIFE i386
>Description:
mail/bmf fails to build with the following error
gcc -o bmfconv bmfconv.o dbmysql.o dbdb.o dbtext.o dbh.o lex.o vec.o str.o
/bin/cp files/* /usr/pkgsrc/mail/bmf/work/bmf-0.84
cp: files/CVS is a directory (not copied).
*** Error code 1
This is because a pkgsrc tree obtained via cvs has a CVS directory in the files directory which the makefile fails to account for.
>How-To-Repeat:
run make(1) in mail/bmf in a pkgsrc tree obtained via cvs (with CVS directories)
>Fix:
Apply the following patch to the Makefile (there is probably a better solution)
--- Makefile.orig Thu Oct 10 12:05:31 2002
+++ Makefile Fri Oct 11 21:22:57 2002
@@ -21,6 +21,6 @@
# ship pre-build man pages (snarfed from the Debian package).
post-build:
- ${CP} files/* ${WRKSRC}
+ ${CP} files/*.1 ${WRKSRC}
.include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: