Hi,

Can we build debug packages for libxml and libxslt?

bluhm

Index: textproc/libxml/Makefile
===================================================================
RCS file: /data/mirror/openbsd/cvs/ports/textproc/libxml/Makefile,v
retrieving revision 1.185
diff -u -p -r1.185 Makefile
--- textproc/libxml/Makefile    23 Feb 2021 19:39:45 -0000      1.185
+++ textproc/libxml/Makefile    24 Apr 2021 17:25:48 -0000
@@ -4,7 +4,7 @@ COMMENT-main=           XML parsing library
 COMMENT-python=                Python bindings for libxml
 
 VERSION=               2.9.10
-REVISION-main=         2
+REVISION-main=         3
 REVISION-python=       3
 DISTNAME=              libxml2-${VERSION}
 PKGNAME-main=          libxml-${VERSION}
@@ -33,6 +33,8 @@ CONFIGURE_ARGS+=      --enable-static \
 
 # only used to fetch data during regression test
 CONFIGURE_ENV=         WGET=/usr/bin/ftp
+
+DEBUG_PACKAGES =       -main
 
 PSEUDO_FLAVORS=                no_python
 FLAVOR?=
Index: textproc/libxslt/Makefile
===================================================================
RCS file: /data/mirror/openbsd/cvs/ports/textproc/libxslt/Makefile,v
retrieving revision 1.94
diff -u -p -r1.94 Makefile
--- textproc/libxslt/Makefile   9 Jun 2020 07:13:56 -0000       1.94
+++ textproc/libxslt/Makefile   24 Apr 2021 16:10:12 -0000
@@ -4,7 +4,7 @@ COMMENT=                XSLT C Library for GNOME
 
 VERSION=               1.1.34
 DISTNAME=              libxslt-${VERSION}
-REVISION=              0
+REVISION=              1
 
 SHARED_LIBS +=  xslt                 4.0      # 2.33
 SHARED_LIBS +=  exslt                9.8      # 8.20
@@ -31,5 +31,6 @@ CONFIGURE_ARGS+=      --with-libxml-include-p
 CONFIGURE_ENV=         CPPFLAGS="-I${LOCALBASE}/include" \
                        XML_CONFIG="${LOCALBASE}/bin/xml2-config"
 
+DEBUG_PACKAGES =       ${BUILD_PACKAGES}
 
 .include <bsd.port.mk>
Index: textproc/libxslt/pkg/PLIST
===================================================================
RCS file: /data/mirror/openbsd/cvs/ports/textproc/libxslt/pkg/PLIST,v
retrieving revision 1.28
diff -u -p -r1.28 PLIST
--- textproc/libxslt/pkg/PLIST  9 Jun 2020 07:13:56 -0000       1.28
+++ textproc/libxslt/pkg/PLIST  24 Apr 2021 16:16:06 -0000
@@ -28,11 +28,11 @@ include/libxslt/xsltconfig.h
 include/libxslt/xsltexports.h
 include/libxslt/xsltlocale.h
 include/libxslt/xsltutils.h
-lib/libexslt.a
+@static-lib lib/libexslt.a
 lib/libexslt.la
 @lib lib/libexslt.so.${LIBexslt_VERSION}
 lib/libxslt-plugins/
-lib/libxslt.a
+@static-lib lib/libxslt.a
 lib/libxslt.la
 @lib lib/libxslt.so.${LIBxslt_VERSION}
 lib/pkgconfig/libexslt.pc

Reply via email to