pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/libfreehand libfreehand: build fix



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a679ac9645f
branches:  trunk
changeset: 327673:6a679ac9645f
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Jan 06 02:42:49 2019 +0000

description:
libfreehand: build fix

diffstat:

 converters/libfreehand/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 9266090189df -r 6a679ac9645f converters/libfreehand/Makefile
--- a/converters/libfreehand/Makefile   Sun Jan 06 02:23:00 2019 +0000
+++ b/converters/libfreehand/Makefile   Sun Jan 06 02:42:49 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2018/12/13 19:51:32 adam Exp $
+# $NetBSD: Makefile,v 1.28 2019/01/06 02:42:49 tnn Exp $
 
 DISTNAME=      libfreehand-0.1.1
 PKGREVISION=   20
@@ -19,6 +19,10 @@
 USE_LANGUAGES= c c++
 
 CONFIGURE_ARGS+=       --without-docs
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+CXXFLAGS+=     -Wno-error=deprecated-register
+.endif
 
 PKGCONFIG_OVERRIDE+=   libfreehand.pc.in
 



Home | Main Index | Thread Index | Old Index