openbsd-ports/devel/sdcc/patches/patch-sdcc_sim_ucsim_libltdl_configure
jasper 0acef1e117 import sdcc 2.6.0
SDCC is an open source retargettable, optimizing ANSI - C compiler. The
current version targets the Intel 8051, Zilog Z80, Dallas 80C390,
Motorola HC08 and Microchip PIC MCUs.

submitted by Andreas Bihlmaier <andreas.bihlmaier at gmx.de> (MAINTAINER)

feedback and ok naddy@
2006-12-30 18:45:32 +00:00

18 lines
950 B
Plaintext

$OpenBSD: patch-sdcc_sim_ucsim_libltdl_configure,v 1.1.1.1 2006/12/30 18:45:32 jasper Exp $
--- sim/ucsim/libltdl/configure.orig Fri Jan 3 09:51:59 2003
+++ sim/ucsim/libltdl/configure Mon Dec 25 11:58:01 2006
@@ -4413,11 +4413,11 @@ cygwin* | mingw* | pw32*)
yes,cygwin*)
library_names_spec='$libname.dll.a'
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
- postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
+ postinstall_cmds='dlpath=`ksh 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
dldir=$destdir/`dirname \$dlpath`~
test -d \$dldir || mkdir -p \$dldir~
$install_prog .libs/$dlname \$dldir/$dlname'
- postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ postuninstall_cmds='dldll=`ksh 2>&1 -c '\''. $file; echo \$dlname'\''`~
dlpath=$dir/\$dldll~
$rm \$dlpath'
;;