summarylogtreecommitdiffstats
path: root/0002-Quick-Dirty-patch-to-allow-finding-ngspice-on-Arch-L.patch
blob: 9bce42fc99c9d305d72cb507bd9dc8e5ef974fcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 2d3f31fe718da9fee98ee9472c6114e3ab2a5cbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20La=C3=9F?= <bevan@bi-co.net>
Date: Sat, 4 Nov 2023 12:30:04 +0100
Subject: [PATCH 2/3] Quick & Dirty patch to allow finding ngspice on Arch
 Linux

---
 pri/spicedetect.pri | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/pri/spicedetect.pri b/pri/spicedetect.pri
index cfff340a..2e229ec5 100644
--- a/pri/spicedetect.pri
+++ b/pri/spicedetect.pri
@@ -14,13 +14,12 @@
 # ********************************************************************/
 
 
-message("Using fritzing ngspice detect script.")
-NGSPICEPATH = ../../ngspice-42
-NGSPICEPATH = $$absolute_path($${NGSPICEPATH})
+message("Using customized ngspice detect script.")
+NGSPICEPATH = "/usr/include/ngspice/"
 
 exists($$NGSPICEPATH) {
 	message("found $${NGSPICEPATH}")
-	INCLUDEPATH += $$NGSPICEPATH/include
+	INCLUDEPATH += $$NGSPICEPATH
 } else {
     error("ngspice not found in $${NGSPICEPATH}")
 }
-- 
2.43.0