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



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


Home | Main Index | Thread Index | Old Index