openbsd-ports/math/octave/patches/patch-octMakefile_in
2008-01-21 18:30:13 +00:00

23 lines
1.2 KiB
Plaintext

$OpenBSD: patch-octMakefile_in,v 1.4 2008/01/21 18:30:13 steven Exp $
--- octMakefile.in.orig Thu Dec 13 22:35:36 2007
+++ octMakefile.in Sat Dec 29 17:13:51 2007
@@ -120,15 +120,12 @@ BUGS INSTALL.OCTAVE:
install install-strip ::
$(top_srcdir)/mkinstalldirs $(addprefix $(DESTDIR), $(DIRS_TO_MAKE))
rm -f $(DESTDIR)$(bindir)/octave-bug
- $(INSTALL_SCRIPT) octave-bug $(DESTDIR)$(bindir)/octave-bug-$(version)
- (cd $(DESTDIR)$(bindir); $(LN_S) octave-bug-$(version) $(DESTDIR)$(bindir)/octave-bug)
+ $(INSTALL_SCRIPT) octave-bug $(DESTDIR)$(bindir)/octave-bug
rm -f $(DESTDIR)$(bindir)/octave-config
$(INSTALL_SCRIPT) \
- octave-config $(DESTDIR)$(bindir)/octave-config-$(version)
- (cd $(DESTDIR)$(bindir); $(LN_S) octave-config-$(version) $(DESTDIR)$(bindir)/octave-config)
+ octave-config $(DESTDIR)$(bindir)/octave-config
rm -f $(DESTDIR)$(bindir)/mkoctfile
- $(INSTALL_SCRIPT) mkoctfile $(DESTDIR)$(bindir)/mkoctfile-$(version)
- (cd $(DESTDIR)$(bindir); $(LN_S) mkoctfile-$(version) $(DESTDIR)$(bindir)/mkoctfile)
+ $(INSTALL_SCRIPT) mkoctfile $(DESTDIR)$(bindir)/mkoctfile
$(INSTALL_DATA) config.h $(DESTDIR)$(octincludedir)/octave/config.h
$(INSTALL_DATA) $(srcdir)/NEWS $(DESTDIR)$(datadir)/octave/$(version)/NEWS