Subject: pkg/29870: pkgsrc arpwatch on osx 10.3 needs needs to use bind compatibility
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Darrin B.Jewell <dbj@netbsd.org>
List: pkgsrc-bugs
Date: 04/03/2005 03:49:00
>Number: 29870
>Category: pkg
>Synopsis: pkgsrc arpwatch on osx 10.3 needs needs to use bind compatibility
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 03 03:49:00 +0000 2005
>Originator: Darrin B. Jewell
>Release: pkgsrc-2005Q1
>Organization:
>Environment:
Darwin Quiteria 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC Power Macintosh powerpc
>Description:
The pkgsrc net/arpwatch will fail to build on macos 10.3
>How-To-Repeat:
Attempt to build net/arpwatch on macos 10.3
>Fix:
The following patch against the pkgsrc-2005Q1 branch fixes the
problem by adding the -DBIND_8_COMPAT define to the build.
Index: pkgsrc/net/arpwatch/Makefile
===================================================================
RCS file: /u3/n/rsync/cvsroot/pkgsrc/net/arpwatch/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- pkgsrc/net/arpwatch/Makefile 17 Mar 2005 11:01:44 -0000 1.22
+++ pkgsrc/net/arpwatch/Makefile 2 Apr 2005 02:12:00 -0000
@@ -17,6 +17,8 @@
MAKE_ENV+= VARBASE=${VARBASE}
PLIST_SUBST+= VARBASE=${VARBASE}
+CFLAGS.Darwin=-DBIND_8_COMPAT
+
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= "Fixing hardcoded paths."
SUBST_STAGE.paths= post-patch