pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/varnish



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat May 10 16:33:07 UTC 2025

Modified Files:
        pkgsrc/www/varnish: Makefile

Log Message:
varnish: fix build with libedit on NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/www/varnish/Makefile

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

Modified files:

Index: pkgsrc/www/varnish/Makefile
diff -u pkgsrc/www/varnish/Makefile:1.46 pkgsrc/www/varnish/Makefile:1.47
--- pkgsrc/www/varnish/Makefile:1.46    Sun Feb 23 16:59:26 2025
+++ pkgsrc/www/varnish/Makefile Sat May 10 16:33:07 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2025/02/23 16:59:26 wiz Exp $
+# $NetBSD: Makefile,v 1.47 2025/05/10 16:33:07 wiz Exp $
 
 DISTNAME=      varnish-7.5.0
 CATEGORIES=    www
@@ -58,6 +58,12 @@ CONFIGURE_ARGS+=     --with-sphinx-build=${P
 # Explicitly disable epoll on illumos, provided for Linux compat only.
 CONFIGURE_ARGS.SunOS+= --disable-epoll
 
+SUBST_CLASSES+=                edit
+SUBST_SED.edit+=       -e s,editline/readline.h,readline.h,
+SUBST_FILES.edit+=     bin/varnishadm/varnishadm.c configure
+SUBST_MESSAGE.edit=    Fix path to libedit header for pkgsrc.
+SUBST_STAGE.edit=      pre-configure
+
 .include "../../mk/compiler.mk"
 
 # Fixes build on at least SunOS/i386



Home | Main Index | Thread Index | Old Index