pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/52250: gmp and mpfr not found by some packages



The following reply was made to PR pkg/52250; it has been noted by GNATS.

From: =?UTF-8?Q?J=C3=B6rn_Clausen?= <joernc%googlemail.com@localhost>
To: Jonathan Perkin <jperkin%pkgsrc.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost, solaris-pkg-people%netbsd.org@localhost, 
	gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/52250: gmp and mpfr not found by some packages
Date: Mon, 19 Jun 2017 20:23:49 +0200

 I'll test it tomorrow and let you know.
 
 Technically, this solves the issue that lead me here, but not in a
 nice way: net/net-snmp depends on tcpwrapper. On i86 the native
 library is not found and the pkgsrc version is used, ending in a
 successful build of net-snmp. On sparc, net-snmp tries to use the
 native version and bails out. Both should find the native version -
 and fail to use it...
 
 On Mon, Jun 19, 2017 at 5:34 PM, Jonathan Perkin <jperkin%pkgsrc.org@localhost> wrote:
 > Ok, if you're able to test this patch sufficiently then we can commit it,
 > I don't know of many people left who have SPARC and can test this so I'd
 > be happy to go with the results of your tests.
 >
 > diff --git a/mk/platform/SunOS.mk b/mk/platform/SunOS.mk
 > index b2cfd6c9636a..fc9fc2190df2 100644
 > --- a/mk/platform/SunOS.mk
 > +++ b/mk/platform/SunOS.mk
 > @@ -113,9 +113,9 @@ _STRIPFLAG_INSTALL?=        ${_INSTALL_UNSTRIPPED:D:U-s}    # install(1) option to strip
 >
 >  PKG_TOOLS_BIN?=                ${LOCALBASE}/sbin
 >
 > -.if ${MACHINE_ARCH} == "x86_64"
 > -LIBABISUFFIX=          /amd64
 > -.endif
 > +LIBABISUFFIX.sparc64=  /sparcv9
 > +LIBABISUFFIX.x86_64=   /amd64
 > +LIBABISUFFIX?=         ${LIBABISUFFIX.${MACHINE_ARCH}}
 >  _OPSYS_SYSTEM_RPATH?=  /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}
 >  _OPSYS_LIB_DIRS?=      /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX}
 >  _OPSYS_INCLUDE_DIRS?=  /usr/include
 >
 > Thanks,
 >
 > --
 > Jonathan Perkin       www.perkin.org.uk
 > github.com/jperkin  twitter.com/jperkin
 
 
 
 -- 
 Joern Clausen
 http://www.oe-files.de/photography/
 


Home | Main Index | Thread Index | Old Index