pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/fontforge fontforge: Fix build on SunOS, require...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a633abfbdb63
branches:  trunk
changeset: 368912:a633abfbdb63
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Sep 21 15:06:17 2017 +0000

description:
fontforge: Fix build on SunOS, requires GNU date features.

diffstat:

 fonts/fontforge/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r f12315160e2f -r a633abfbdb63 fonts/fontforge/Makefile
--- a/fonts/fontforge/Makefile  Thu Sep 21 14:37:39 2017 +0000
+++ b/fonts/fontforge/Makefile  Thu Sep 21 15:06:17 2017 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index