git: c8fa5eab9dbd - main - graphics/sane-airscan: fix configuration file path

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Sun, 28 Dec 2025 14:05:30 UTC
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