summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryoon <ryoon>2012-09-29 11:46:36 +0000
committerryoon <ryoon>2012-09-29 11:46:36 +0000
commit3766b9e3de6ff4a6f86f5b915a791e987cfd7da0 (patch)
treea21c89a3de2b3ae307fda3b3e6d00975587431e1
parent1e30551f9d49169e7f6af58030b7a23196010ff6 (diff)
downloadpkgsrc-3766b9e3de6ff4a6f86f5b915a791e987cfd7da0.tar.gz
Fix build on NetBSD current.
Set libexecinfo for link.
-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" \