summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorryoon <ryoon>2012-09-29 11:46:36 +0000
committerryoon <ryoon>2012-09-29 11:46:36 +0000
commit32d879e484056d85557d1f4bb0ddc3039be776c7 (patch)
treea21c89a3de2b3ae307fda3b3e6d00975587431e1 /lang
parent2629f36eb73e6b8350a1d4c26a46640dbc3d7e03 (diff)
downloadpkgsrc-32d879e484056d85557d1f4bb0ddc3039be776c7.tar.gz
Fix build on NetBSD current.
Set libexecinfo for link.
Diffstat (limited to 'lang')
-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" \