summaryrefslogtreecommitdiff
path: root/lang/smalltalk
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2012-09-29 11:46:36 +0000
committerryoon <ryoon@pkgsrc.org>2012-09-29 11:46:36 +0000
commit7a5e0ac1a039c04a4001c30bffb5d5ac8fe211b2 (patch)
treea21c89a3de2b3ae307fda3b3e6d00975587431e1 /lang/smalltalk
parent63fecd1bdc8536e1ebe47701a8a99402f84b5b50 (diff)
downloadpkgsrc-7a5e0ac1a039c04a4001c30bffb5d5ac8fe211b2.tar.gz
Fix build on NetBSD current.
Set libexecinfo for link.
Diffstat (limited to 'lang/smalltalk')
-rw-r--r--lang/smalltalk/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/smalltalk/Makefile b/lang/smalltalk/Makefile
index 15493aa1697..d1c291e7c6c 100644
--- a/lang/smalltalk/Makefile
+++ b/lang/smalltalk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2012/09/15 10:05:21 obache Exp $
+# $NetBSD: Makefile,v 1.69 2012/09/29 11:46:36 ryoon Exp $
DISTNAME= smalltalk-3.2.4
PKGREVISION= 8
@@ -44,6 +44,13 @@ REPLACE.sys-sed.old= [^[:space:]]*sed
REPLACE.sys-sed.new= ${SED}
REPLACE_FILES.sys-sed= ${REPLACE_SED}
+.include "../../mk/bsd.prefs.mk"
+
+# for backtrace
+.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h)
+LIBS+= -lexecinfo
+.endif
+
post-extract:
sed -e "s/long double/double/g" -e "s/1.0L/1.0/g" -e "s/0.0L/0.0/g" \
-e "s/LDBL_EPSILON/DBL_EPSILON/g" -e "s/truncl/trunc/g" \