pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/gitweb



Module Name:    pkgsrc
Committed By:   sborrill
Date:           Mon Dec  8 08:42:45 UTC 2025

Modified Files:
        pkgsrc/www/gitweb: Makefile

Log Message:
gitweb: set path to configuration file correctly

gitweb.conf should be in PKG_SYSCONFDIR, but the CGI binary was hardwired
to look in /etc


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/www/gitweb/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/gitweb/Makefile
diff -u pkgsrc/www/gitweb/Makefile:1.47 pkgsrc/www/gitweb/Makefile:1.48
--- pkgsrc/www/gitweb/Makefile:1.47     Mon Jan 13 14:24:44 2025
+++ pkgsrc/www/gitweb/Makefile  Mon Dec  8 08:42:45 2025
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.47 2025/01/13 14:24:44 adam Exp $
+# $NetBSD: Makefile,v 1.48 2025/12/08 08:42:45 sborrill Exp $
 
 .include "../../devel/git/Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/git/gitweb/}
+PKGREVISION=   1
 CATEGORIES=    www
 
 COMMENT=       Web interface for GIT repositories
@@ -15,6 +16,8 @@ USE_TOOLS+=   perl:run
 BUILD_TARGET=  gitweb
 INSTALL_TARGET=        install-gitweb
 MAKE_ENV+=     INSTALL=${INSTALL:Q}
+MAKE_FLAGS+=   GITWEB_CONFIG_COMMON=${PKG_SYSCONFDIR}/gitweb-common.conf
+MAKE_FLAGS+=   GITWEB_CONFIG_SYSTEM=${PKG_SYSCONFDIR}/gitweb.conf
 REPLACE_PERL+= gitweb/gitweb.perl
 
 GITWEB_EGDIR=  ${PREFIX}/share/examples/gitweb



Home | Main Index | Thread Index | Old Index