On Sat, Jun 11, 2022 at 01:27:45PM +0100, Stuart Henderson wrote:
> Normally it would be "gnu" unless you are patching files (or upstream
> doesn't ship a generated file, but since "simple" worked then that's not the
> case here)
I see, thanks.
"gnu" is all it needs here if I understand bsd.port.mk(5) right.
It certainly works and also doesn't need the AUTO*_VERSION bits I set the
wrong way...
How about this?
Index: Makefile
===================================================================
RCS file: /cvs/ports/security/xml-security-c/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile 10 Jun 2022 19:12:49 -0000 1.2
+++ Makefile 11 Jun 2022 14:08:37 -0000
@@ -1,6 +1,7 @@
COMMENT = C++ implementation of W3C security standards for XML
V = 2.0.4
+REVISION = 0
DISTNAME = xml-security-c-${V}
CATEGORIES = security textproc
@@ -25,7 +26,7 @@ LIB_DEPENDS = textproc/icu4c \
textproc/xalan-c \
textproc/xerces-c>=3.2
-CONFIGURE_STYLE = simple
+CONFIGURE_STYLE = gnu
# ChangeLog lists --with-xerces and --with-xalan, but
# a) configure does not support --with-xerces
@@ -36,9 +37,6 @@ CONFIGURE_ARGS += --with-xalan=/usr/loca
# configure: WARNING: NSS is no longer officially supported
CONFIGURE_ARGS += --without-nss \
--with-openssl
-
-# Do not pick up coreutils gmakedir(1) as "race-free mkdir -p"
-CONFIGURE_ARGS += ac_cv_path_mkdir=/bin/mkdir
do-test:
${WRKBUILD}/xsec/xsec-xtest