summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-09-21 15:06:17 +0000
committerjperkin <jperkin@pkgsrc.org>2017-09-21 15:06:17 +0000
commitc3e3b059a21c53a175db1cd50ff284a53f62fa63 (patch)
tree39578d5a3ccc161db72bef207d29d82d234054e7
parente6867a920772e905f2d4274bbd506c3b38cfbcdd (diff)
downloadpkgsrc-c3e3b059a21c53a175db1cd50ff284a53f62fa63.tar.gz
fontforge: Fix build on SunOS, requires GNU date features.
-rw-r--r--fonts/fontforge/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/fonts/fontforge/Makefile b/fonts/fontforge/Makefile
index 893ac27d4f2..825835f688d 100644
--- a/fonts/fontforge/Makefile
+++ b/fonts/fontforge/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.101 2017/08/25 09:20:38 adam Exp $
+# $NetBSD: Makefile,v 1.102 2017/09/21 15:06:17 jperkin Exp $
DISTNAME= fontforge-dist-20170731
PKGNAME= ${DISTNAME:S/-dist-/-/}
@@ -33,6 +33,13 @@ CHECK_INTERPRETER_SKIP+=share/fontforge/python/simple/*
PY_PATCHPLIST= yes
+.include "../../mk/bsd.prefs.mk"
+
+# Requires GNU date features
+.if ${OPSYS} == "SunOS"
+TOOLS_PLATFORM.date=
+.endif
+
.include "options.mk"
.include "../../converters/libiconv/buildlink3.mk"