Commit 7be22f1 1 parent 8c2775f commit 7be22f1 Copy full SHA for 7be22f1
File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ LDFLAGS-os-FreeBSD = -L/usr/local/lib
54
54
55
55
LIBS-os-Haiku = -lnetwork -lbe
56
56
57
- CPPFLAGS-os-OpenBSD = -DKAK_BIN_PATH="$(bindir ) /kak" -I/usr/local/include
57
+ CPPFLAGS-os-OpenBSD = -DKAK_BIN_PATH=\ "$(bindir ) /kak\ " -I/usr/local/include
58
58
LDFLAGS-os-OpenBSD = -L/usr/local/lib
59
59
mandir-os-OpenBSD = $(DESTDIR )$(PREFIX ) /man/man1
60
60
@@ -136,6 +136,9 @@ doc/kak.1.gz: doc/kak.1
136
136
137
137
check : test
138
138
test : src/kak
139
+ if [ $( os) = OpenBSD ]; then \
140
+ export KAKOUNE_RUNTIME=$$PWD/share/kak; \
141
+ fi && \
139
142
cd test && ./run
140
143
141
144
TAGS : tags
Original file line number Diff line number Diff line change @@ -666,6 +666,7 @@ String get_kak_binary_path()
666
666
buffer[res] = ' \0 ' ;
667
667
return buffer;
668
668
#elif defined(__OpenBSD__)
669
+ (void )buffer;
669
670
return KAK_BIN_PATH;
670
671
#elif defined(__sun__)
671
672
ssize_t res = readlink (" /proc/self/path/a.out" , buffer, 2048 );
You can’t perform that action at this time.
0 commit comments