openbsd-ports/lang/clisp/patches/patch-src_makemake_in
2002-06-18 16:11:30 +00:00

72 lines
3.1 KiB
Plaintext

$OpenBSD: patch-src_makemake_in,v 1.4 2002/06/18 16:11:30 naddy Exp $
--- src/makemake.in.orig Mon Jun 25 16:54:46 2001
+++ src/makemake.in Tue Jun 18 18:07:44 2002
@@ -1655,6 +1655,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"
@@ -3188,14 +3194,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"
@@ -3261,7 +3267,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
@@ -3280,6 +3286,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/"
@@ -3320,7 +3330,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"
@@ -3329,7 +3339,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"
;;
*)