Subject: pkg/15396: kermit fails to build on Darwin
To: None <gnats-bugs@gnats.netbsd.org>
From: None <yyamano@netbsd.org>
List: netbsd-bugs
Date: 01/27/2002 10:40:41
>Number: 15396
>Category: pkg
>Synopsis: kermit fails to build on Darwin
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 27 10:41:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Yuji Yamano
>Release: 2001/1/27 pkgsrc from cvs
>Organization:
>Environment:
Darwin localhost 1.4 Darwin Kernel Version 1.4: Sun Sep 9 15:39:59 PDT 2001; root:xnu/xnu-201.obj~1/RELEASE_PPC Power Macintosh powerpc
>Description:
kermit fails to build on Darwin with agc's latest bootstrap kit.
>How-To-Repeat:
% cd comms/kermit/
% bmake
>Fix:
Here is tha patch for comms/kermit/Makefile.
--- Makefile.orig Fri Jan 25 22:52:42 2002
+++ Makefile Fri Jan 25 22:58:59 2002
@@ -13,7 +13,14 @@
LICENSE= kermit-license
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+ALL_TARGET= macosx10
+.else
ALL_TARGET= netbsd
+.endif
+
BUILD_DEFS+= KFLAGS LIBS KERMIT_SUID_UUCP
MAKE_ENV+= KFLAGS="${KFLAGS}" LIBS="${LIBS}"
MAKEFILE= makefile
@@ -41,7 +48,6 @@
esac; \
done
-.include "../../mk/bsd.prefs.mk"
.if defined(KERMIT_SUID_UUCP)
.if ${KERMIT_SUID_UUCP} == "yes" || ${KERMIT_SUID_UUCP} == "YES"
>Release-Note:
>Audit-Trail:
>Unformatted: