summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2017-02-05 12:28:14 +0000
committerbsiegert <bsiegert@pkgsrc.org>2017-02-05 12:28:14 +0000
commit6a70250d76387fd2db54f10c2fbfce7ea66d1dc6 (patch)
treefd622730766fe9b6dfa9f9108d9ec190ce2ca4c0 /math
parenta6973c56c86ee2d935f3bc2f87de792365245d52 (diff)
downloadpkgsrc-6a70250d76387fd2db54f10c2fbfce7ea66d1dc6.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