From 72c954e5b30ba058df88864cfe0a31b9468e3a23 Mon Sep 17 00:00:00 2001 From: Pascal Stumpf Date: Sun, 12 Aug 2012 21:27:19 +0200 Subject: [PATCH] sym2num: add path to cpp on OpenBSD. --- cde/programs/dtprintinfo/sym2num | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cde/programs/dtprintinfo/sym2num b/cde/programs/dtprintinfo/sym2num index 8799eb37..ba22f7e8 100755 --- a/cde/programs/dtprintinfo/sym2num +++ b/cde/programs/dtprintinfo/sym2num @@ -58,6 +58,9 @@ awk '/^\$set/ { SET_NAME=$2; SET_COUNT++; MES_COUNT=0; if [[ -f /usr/ccs/lib/cpp ]] #IBM & SUN then cpp_path=/usr/ccs/lib +elif [[ -f /usr/libexec/cpp ]] #BSD +then + cpp_path=/usr/libexec elif [[ -f /lib/cpp ]] #HP then cpp_path=/lib -- 2.25.1