summaryrefslogtreecommitdiff
path: root/sysutils/webmin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/webmin/Makefile')
-rw-r--r--sysutils/webmin/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index 339997ebd68..51872020854 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.54 2020/08/31 18:11:37 wiz Exp $
+# $NetBSD: Makefile,v 1.55 2020/09/06 02:38:53 mef Exp $
-PKGREVISION= 1
.include "version.mk"
DISTNAME= webmin-${WBM_VERSION}
@@ -32,6 +31,19 @@ FILES_SUBST+= WEBMIN_VARDIR=${WEBMIN_VARDIR:Q}
MESSAGE_SUBST+= WEBMIN_DIR=${WEBMIN_DIR:Q}
BUILD_DEFS+= VARBASE
+# patching always fails due to version is written closed the patching line,
+SUBST_CLASSES+= os
+SUBST_STAGE.os= pre-configure
+SUBST_FILES.os= man/module.info init/module.info
+SUBST_MESSAGE.os= Add DragonFly
+SUBST_SED.os= -e 's/macos netbsd/macos netbsd dragonfly/'
+
+SUBST_CLASSES+= dragonfly
+SUBST_STAGE.os= pre-configure
+SUBST_FILES.os= cron/module.info
+SUBST_MESSAGE.os= Add DragonFly
+SUBST_SED.os= -e 's/macos openbsd/macos openbsd dragonfly/'
+
WEBMIN_MINIMAL_MODULES= acl cron init inittab man proc servers webmin webminlog
PKG_SYSCONFSUBDIR= webmin