Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2025 14:05:30 +0000
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c8fa5eab9dbd - main - graphics/sane-airscan: fix configuration file path
Message-ID:  <6951392a.3c762.6b3dca40@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by rodrigo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c8fa5eab9dbd3beb2e3fc6c6836d24ce9595f0bb

commit c8fa5eab9dbd3beb2e3fc6c6836d24ce9595f0bb
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2025-12-28 13:55:03 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2025-12-28 13:59:51 +0000

    graphics/sane-airscan: fix configuration file path
    
    PR:             290414
    Approved by:     Henry Hu<henry.hu.sh@gmail.com> (maintainer)
---
 graphics/sane-airscan/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/graphics/sane-airscan/Makefile b/graphics/sane-airscan/Makefile
index 667928a4931f..b8a6a3bcb1bd 100644
--- a/graphics/sane-airscan/Makefile
+++ b/graphics/sane-airscan/Makefile
@@ -1,4 +1,5 @@
 PORTNAME=	sane-airscan
+PORTREVISION=	1
 DISTVERSION=	0.99.36
 CATEGORIES=	graphics
 
@@ -20,6 +21,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	alexpevzner
 USE_GNOME=	libxml2
 
+CFLAGS+=	-D CONFIG_SANE_CONFIG_DIR="\\\"${PREFIX}/etc/sane.d\\\""
+
 post-install:
 	@${MV} ${STAGEDIR}${PREFIX}/etc/sane.d/airscan.conf \
 		${STAGEDIR}${PREFIX}/etc/sane.d/airscan.conf.sample


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6951392a.3c762.6b3dca40>