summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2025-12-28 14:55:03 +0100
committerRodrigo Osorio <rodrigo@FreeBSD.org>2025-12-28 14:59:51 +0100
commitc8fa5eab9dbd3beb2e3fc6c6836d24ce9595f0bb (patch)
tree256cc1186247ac2cc084af5c992064930d6e6fe5
parentsysutils/node_exporter: Ability to change default pidfile location (diff)
graphics/sane-airscan: fix configuration file path
PR: 290414 Approved by: Henry Hu<henry.hu.sh@gmail.com> (maintainer)
-rw-r--r--graphics/sane-airscan/Makefile3
1 files changed, 3 insertions, 0 deletions
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