pkgsrc-WIP-changes archive

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

Fix xsd



Module Name:	pkgsrc-wip
Committed By:	Niclas Rosenvik <nros%NetBSD.org@localhost>
Pushed By:	nros
Date:		Thu Mar 18 10:55:23 2021 +0000
Changeset:	1ab6b74c65b2eae36693ae35a4ea6d3328c12af5

Modified Files:
	xsd/Makefile

Log Message:
Fix xsd

use external libcutl in xsd, the external libcutl includes fixes
from freebsd ports that makes rexexp work correctly. This fixes problems
like "error: invalid XML to C++ namespace mapping specified" .

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1ab6b74c65b2eae36693ae35a4ea6d3328c12af5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 xsd/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/xsd/Makefile b/xsd/Makefile
index ba1754816d..b08ee439aa 100644
--- a/xsd/Makefile
+++ b/xsd/Makefile
@@ -14,6 +14,7 @@ LICENSE=		gnu-gpl-v2
 USE_TOOLS+=		bash gmake gm4
 USE_LANGUAGES+=		c c++
 MAKE_FILE=		makefile
+MAKE_FLAGS+=		EXTERNAL_LIBCUTL=y
 INSTALL_MAKE_FLAGS=	install_prefix=${DESTDIR}${PREFIX}
 INSTALL_MAKE_FLAGS+=	install_man_dir=${DESTDIR}${PREFIX}/${PKGMANDIR}
 
@@ -22,5 +23,6 @@ post-install:
 	mv ${DESTDIR}${PREFIX}/bin/xsd ${DESTDIR}${PREFIX}/bin/xsdcxx
 	mv ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xsd.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xsdcxx.1
 
+.include "../../wip/libcutl/buildlink3.mk"
 .include "../../textproc/xerces-c/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index