On 2026/05/30 11:19, Matthias Andree wrote:
> >Synopsis: print/htmldoc: malfunction through packaging bug (build dir
> Sorry if this is an inappropriate way to file bug reports, I am a
> non-OpenBSD developer compatibility-testing his fetchmail and bogofilter
> and leafnode packages on OpenBSD, too, but my main drivers are Fedora
> Linux and FreeBSD - and I haven't found something better how to report
> bugs in a port.
generally, email to port maintainer and cc ports@.
> ERR005: Unable to open font width file
> /usr/obj/ports/htmldoc-1.9.23/fake-amd64/usr/local/share/htmldoc/fonts/Times-Bold.afm!
etc
this fixes it. benoit, ok?
Index: Makefile
===================================================================
RCS file: /cvs/ports/print/htmldoc/Makefile,v
diff -u -p -r1.65 Makefile
--- Makefile 30 Jan 2026 12:45:20 -0000 1.65
+++ Makefile 30 May 2026 10:45:51 -0000
@@ -1,6 +1,7 @@
COMMENT = convert HTML pages to PDF/PS format
V = 1.9.23
+REVISION = 0
DISTNAME = htmldoc-${V}
CATEGORIES = print www
@@ -22,9 +23,8 @@ LIB_DEPENDS = graphics/jpeg \
graphics/png \
print/cups,-libs
-CONFIGURE_STYLE = gnu dest
-CONFIGURE_ARGS += --without-gui --disable-gnutls \
- --datadir=${WRKINST}${PREFIX}/share
+CONFIGURE_STYLE = gnu
+CONFIGURE_ARGS += --without-gui
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib" \
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
CPPFLAGS="-I${LOCALBASE}/include"
Index: patches/patch-Makedefs_in
===================================================================
RCS file: /cvs/ports/print/htmldoc/patches/patch-Makedefs_in,v
diff -u -p -r1.7 patch-Makedefs_in
--- patches/patch-Makedefs_in 23 Nov 2024 10:29:33 -0000 1.7
+++ patches/patch-Makedefs_in 30 May 2026 10:45:51 -0000
@@ -1,16 +1,7 @@
Index: Makedefs.in
--- Makedefs.in.orig
+++ Makedefs.in
-@@ -42,7 +42,7 @@ INSTALL_MAN = $(INSTALL) -c -m 444
- # Directories...
- #
-
--BUILDROOT = $(DSTROOT)$(RPM_BUILD_ROOT)$(DESTDIR)
-+BUILDROOT = ${WRKDIR}
- bindir = @bindir@
- datadir = @datadir@
- datarootdir = @datarootdir@
-@@ -81,11 +81,8 @@ WARNINGS = @WARNINGS@
+@@ -80,11 +80,8 @@ WARNINGS = @WARNINGS@
# Rules...
#