openbsd-ports/lang/clisp/patches/patch-src_makemake_in
2001-03-31 19:20:09 +00:00

72 lines
3.1 KiB
Plaintext

$OpenBSD: patch-src_makemake_in,v 1.3 2001/03/31 19:20:09 naddy Exp $
--- src/makemake.in.orig Thu Mar 15 17:28:34 2001
+++ src/makemake.in Sat Mar 31 19:56:11 2001
@@ -1627,6 +1627,12 @@ case "$fsstnd" in
echol "docdir = \$(exec_prefix)${NEXT_}share${NEXT_}doc"
echol "lispdocdir = \$(docdir)${NEXT_}clisp"
;;
+ openbsd)
+ echol "docdir = \$(exec_prefix)${NEXT_}share${NEXT_}doc"
+ echol "lispdocdir = \$(docdir)${NEXT_}clisp"
+ echol "htmldir = \$(lispdocdir)"
+ echol "dvidir = \$(lispdocdir)"
+ ;;
esac
echol "libdir = \$(exec_prefix)${NEXT_}lib"
echol "lisplibdir = \$(libdir)${NEXT_}clisp"
@@ -3129,14 +3135,14 @@ if [ $CROSS = false ] ; then
echotab "if [ ! -d \$(DESTDIR)\$(htmldir) ] ; then mkdir \$(DESTDIR)\$(htmldir) ; fi"
echotab "if [ ! -d \$(DESTDIR)\$(dvidir) ] ; then mkdir \$(DESTDIR)\$(dvidir) ; fi"
;;
- netbsd)
+ netbsd | openbsd)
echotab "if [ ! -d \$(DESTDIR)\$(lispdocdir) ] ; then mkdir \$(DESTDIR)\$(lispdocdir) ; fi"
;;
esac
echotab "if [ ! -d \$(DESTDIR)\$(docdir) ] ; then mkdir \$(DESTDIR)\$(docdir) ; fi"
echotab "if [ ! -d \$(DESTDIR)\$(lispdocdir) ] ; then mkdir \$(DESTDIR)\$(lispdocdir) ; fi"
case "$fsstnd" in
- netbsd)
+ netbsd | openbsd)
;;
*)
echotab "if [ ! -d \$(DESTDIR)\$(lispdocdir)/doc ] ; then mkdir \$(DESTDIR)\$(lispdocdir)/doc ; fi"
@@ -3202,7 +3208,7 @@ if [ $CROSS = false ] ; then
echotab "\$(INSTALL_DATA) clreadline.dvi \$(DESTDIR)\$(dvidir)/clreadline.dvi"
fi
;;
- netbsd)
+ netbsd | openbsd)
echotab "if [ ! -d \$(DESTDIR)\$(lispdocdir) ] ; then mkdir \$(DESTDIR)\$(lispdocdir) ; fi"
echotab "\$(INSTALL_DATA) clisp.html \$(DESTDIR)\$(lispdocdir)/clisp.html"
if [ $TERMINAL = readline ] ; then
@@ -3221,6 +3227,10 @@ if [ $CROSS = false ] ; then
netbsd)
echotab "\$(INSTALL_DATA) \$(MANUALS)${manual_dvi} \$(DESTDIR)\$(lispdocdir)/"
;;
+ openbsd)
+ echotab "if [ ! -d \$(DESTDIR)\$(lispdocdir) ] ; then mkdir \$(DESTDIR)\$(lispdocdir) ; fi"
+ echotab "\$(INSTALL_DATA) \$(MANUALS)${manual_dvi} \$(DESTDIR)\$(lispdocdir)/"
+ ;;
*)
echotab "if [ ! -d \$(DESTDIR)\$(lispdocdir)/doc ] ; then mkdir \$(DESTDIR)\$(lispdocdir)/doc ; fi"
echotab "\$(INSTALL_DATA) \$(MANUALS)${manual_dvi} \$(DESTDIR)\$(lispdocdir)/doc/"
@@ -3261,7 +3271,7 @@ if [ $CROSS = false ] ; then
echotab "\$(RM) \$(DESTDIR)\$(dvidir)/clreadline.dvi"
fi
;;
- netbsd)
+ netbsd | openbsd)
echotab "\$(RM) \$(DESTDIR)\$(lispdocdir)/clisp.html"
if [ $TERMINAL = readline ] ; then
echotab "\$(RM) \$(DESTDIR)\$(lispdocdir)/clreadline.html"
@@ -3270,7 +3280,7 @@ if [ $CROSS = false ] ; then
esac
echotab "for f in \$(READMES); do \$(RM) \$(DESTDIR)\$(lispdocdir)/\$\$f; done"
case "$fsstnd" in
- netbsd)
+ netbsd | openbsd)
echotab "for f in \$(MANUALS)${manual_dvi}; do \$(RM) \$(DESTDIR)\$(lispdocdir)/\$\$f; done"
;;
*)