summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorbsiegert <bsiegert>2017-02-05 12:28:14 +0000
committerbsiegert <bsiegert>2017-02-05 12:28:14 +0000
commite44b1eb4c651a46c15a83b1d6befa1cd5f08eec4 (patch)
treeb777a143131833ab60c9438b0bcb9e1724996852 /math
parent6bb15bb941ca1f898eac488685a05e4a5d746551 (diff)
downloadpkgsrc-e44b1eb4c651a46c15a83b1d6befa1cd5f08eec4.tar.gz
Set LIBPATH during build, bump pkgrev.
Otherwise, the library refers to a nonexistent lib in /usr/lib on Darwin.
Diffstat (limited to 'math')
-rw-r--r--math/ltm/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/ltm/Makefile b/math/ltm/Makefile
index e174329fff9..c2fa897b5cc 100644
--- a/math/ltm/Makefile
+++ b/math/ltm/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2016/10/04 09:34:01 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2017/02/05 12:28:14 bsiegert Exp $
DISTNAME= ltm-1.0
+PKGREVISION= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GITHUB:=libtom/}
GITHUB_PROJECT= libtommath
@@ -15,6 +16,7 @@ LICENSE= public-domain
WRKSRC= ${WRKDIR}/libtommath-1.0
USE_LIBTOOL= yes
MAKE_FILE= makefile.shared
+MAKE_ENV+= LIBPATH=${PREFIX}/lib
BUILD_TARGET= default
USE_TOOLS+= gmake