Newer
Older
minerva / Ports / ssmtp / patches / 0003-Hardcode-paths-to-two-files-that-will-be-compiled-in.patch
@minerva minerva on 13 Jul 899 bytes Initial commit
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Fabian Dellwing <fabian.dellwing@gmail.com>
Date: Tue, 25 Apr 2023 19:18:45 +0200
Subject: [PATCH] Hardcode paths to two files that will be compiled inside the
 binary. Otherwise it gets compiled with the hosts build path prepended.

---
 Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index f0aff41a5dc710173ea30dce9b38c4ec49c7b76c..30c666f4e7ba6d55d08a0b067a7290d449eb85c5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -32,8 +32,8 @@ INSTALL=@INSTALL@
 
 EXTRADEFS=\
 -DSSMTPCONFDIR=\"$(SSMTPCONFDIR)\" \
--DCONFIGURATION_FILE=\"$(CONFIGURATION_FILE)\" \
--DREVALIASES_FILE=\"$(REVALIASES_FILE)\" \
+-DCONFIGURATION_FILE=\"/usr/local/etc/ssmtp/ssmtp.conf\" \
+-DREVALIASES_FILE=\"/usr/local/etc/ssmtp/revaliases\" \
 
 
 CFLAGS=@DEFS@ $(EXTRADEFS) @CFLAGS@