Subject: pkg/23099: www/sitecopy build failed on NetBSD 1.6 and Mac OS X
To: None <>
From: None <>
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
>Originator:     Hiramatsu Yoshifumi
>Release:        NetBSD 1.6.1
System: NetBSD 1.6.1 NetBSD 1.6.1 (Thames) #4: Sun Jun 1 23:42:19 JST 2003 i386
Architecture: i386
Machine: i386
On NetBSD 1.6.1, www/sitecopy needs because
it tries to link against pthread.

And using libnbcompat insead of libgetopt is workaround for
Mac OS X.

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/"
-.include "../../devel/libgetopt/"
+.include "../../pkgtools/libnbcompat/"
 .include "../../security/openssl/"
 .include "../../textproc/libxml2/"
+.include "../../mk/"
 .include "../../mk/"