Subject: pkg/23099: www/sitecopy build failed on NetBSD 1.6 and Mac OS X
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hiramatu@boreas.dti.ne.jp>
List: netbsd-bugs
Date: 10/09/2003 01:35:56
>Number: 23099
>Category: pkg
>Synopsis: www/sitecopy build failed on NetBSD 1.6.1 and Mac OS X
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 08 16:36:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Hiramatsu Yoshifumi
>Release: NetBSD 1.6.1
>Organization:
>Environment:
System: NetBSD thames.my.domain 1.6.1 NetBSD 1.6.1 (Thames) #4: Sun Jun 1 23:42:19 JST 2003 hiramatsu@thames.my.domain:/usr/src/sys/arch/i386/compile/Thames i386
Architecture: i386
Machine: i386
>Description:
On NetBSD 1.6.1, www/sitecopy needs pthread.buildlink2.mk because
it tries to link against pthread.
And using libnbcompat insead of libgetopt is workaround for
Mac OS X.
>How-To-Repeat:
>Fix:
diff -bur sitecopy.orig/Makefile sitecopy/Makefile
--- sitecopy.orig/Makefile Thu Oct 9 01:01:10 2003
+++ sitecopy/Makefile Thu Oct 9 01:23:02 2003
@@ -32,8 +32,8 @@
${LN} -sf ${WRKSRC}/lib/fnmatch.h ${WRKSRC}/fnmatch.h
.include "../../devel/gettext-lib/buildlink2.mk"
-.include "../../devel/libgetopt/buildlink2.mk"
+.include "../../pkgtools/libnbcompat/buildlink2.mk"
.include "../../security/openssl/buildlink2.mk"
.include "../../textproc/libxml2/buildlink2.mk"
-
+.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: