Subject: Re: pkg/33705: lang/ocaml solaris10 amd64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: pkgsrc-bugs
Date: 06/12/2006 15:40:02
The following reply was made to PR pkg/33705; it has been noted by GNATS.

From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
	gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/33705: lang/ocaml solaris10 amd64
Date: Mon, 12 Jun 2006 17:38:00 +0200 (CEST)

 > 
 > 
 > >Fix:
 > 
 > 
 > diff -bu Makefile.common.orig Makefile.common
 > --- Makefile.common.orig        Tue May 23 10:31:01 2006
 > +++ Makefile.common     Mon Jun 12 17:12:51 2006
 > @@ -20,6 +20,7 @@
 >  CONFIGURE_ARGS+=       -libs ${LDFLAGS:Q}
 >  CONFIGURE_ARGS+=       -with-pthread
 >  CPPFLAGS+=             -DDB_DBM_HSEARCH
 > +CONFIGURE_ARGS+=       -host ${MACHINE_GNU_PLATFORM:Q}
 >  
 >  .include "../../mk/bsd.prefs.mk"
 
 
 I miss to send the patch for Makefile
 
 [root@u2 1854] diff -bu Makefile.orig Makefile
 --- Makefile.orig       Tue May 23 10:31:01 2006
 +++ Makefile    Mon Jun 12 17:34:00 2006
 @@ -14,7 +14,7 @@
  ###
  
  # Stub libraries for functions missing from base system.
 -.if ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly" || ${OPSYS} == "NetBSD"
 +.if ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly" || ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
  PLIST_SRC+=    ${PKGDIR}/PLIST.stub
  .endif