pkgsrc-Bugs archive

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

Re: pkg/56019: [NEW PKG] math/mpdecimal



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

From: Stefan Krah <stefan%bytereef.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: bsiegert%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost,
	skrah%bytereef.org@localhost
Subject: Re: pkg/56019: [NEW PKG] math/mpdecimal
Date: Wed, 3 Jan 2024 22:57:23 +0100

 --YiEDa0DAkWCtVeE4
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Fri, Jan 21, 2022 at 05:05:02PM +0000, Benny Siegert wrote:
 >  On Sun, Jun 27, 2021 at 9:40 PM David Holland <dholland-pbugs%netbsd.org@localhost> wrote:
 >  >  I've put a copy here:
 >  >
 >  >  https://www.netbsd.org/~dholland/gnatsblobs/56019/
 >  >
 >  >  (there is no good way to attach things in gnats; this is one of many
 >  >  ways in which it's terrible)
 >  
 >  
 >  Thanks, David!
 >  
 >  I added the mpdecimal package to pkgsrc-wip. However, it fails during
 >  packaging with this error:
 >  
 >  => Checking for missing run-time search paths in mpdecimal-2.5.1
 >  ERROR: lib/libmpdec++.so.2.5.1: missing library: libmpdec.so.3
 >  
 >  Any ideas?
 
 Sorry, I missed this thread completely.  I had not set PKG_DEVELOPER=yes
 when creating the package, so I did not get that error.
 
 The reason is that RPATH needs to be set in the LDXXFLAGS.
 
 I am attaching a new Makefile that works. The complaints about file
 permissions in the tarball cannot be helped, but will be fixed in the
 next release.
 
 
 Stefan Krah
 
 
 
 --YiEDa0DAkWCtVeE4
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=Makefile
 
 # $NetBSD$
 
 DISTNAME=	mpdecimal-2.5.1
 CATEGORIES=	math
 MASTER_SITES=	https://www.bytereef.org/software/mpdecimal/releases/
 
 MAINTAINER=	skrah%bytereef.org@localhost
 HOMEPAGE=	https://www.bytereef.org/mpdecimal/
 COMMENT=	C/C++ arbitrary precision decimal floating point libraries
 LICENSE=	2-clause-bsd
 
 GNU_CONFIGURE=	yes
 USE_LANGUAGES=	c c++
 USE_TOOLS+=	gmake
 BUILD_TARGET=	default
 TEST_TARGET=	check_local
 
 .include "../../mk/bsd.prefs.mk"
 
 CONFIGURE_ARGS+=	CC=gcc CXX=g++ LDFLAGS="-Wl,-R/usr/pkg/lib" LDXXFLAGS="-Wl,-R/usr/pkg/lib"
 
 .include "../../mk/bsd.pkg.mk"
 
 --YiEDa0DAkWCtVeE4--
 


Home | Main Index | Thread Index | Old Index