See patch.
>From c9fc412775e5665336170332478605b641ab8d3e Mon Sep 17 00:00:00 2001
From: Pascal Stumpf <pascal.stu...@cubes.de>
Date: Sun, 12 Aug 2012 21:27:19 +0200
Subject: [PATCH] sym2num: add path to cpp on OpenBSD.

---
 cde/programs/dtprintinfo/sym2num |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/cde/programs/dtprintinfo/sym2num b/cde/programs/dtprintinfo/sym2num
index 8799eb3..ba22f7e 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
-- 
1.7.6

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to