openbsd-ports/math/octave/patches/patch-octMakefile_in
2008-10-05 16:22:04 +00:00

23 lines
1.2 KiB
Plaintext

$OpenBSD: patch-octMakefile_in,v 1.5 2008/10/05 16:22:04 steven Exp $
--- octMakefile.in.orig Fri Aug 1 08:50:56 2008
+++ octMakefile.in Wed Oct 1 22:13:29 2008
@@ -121,15 +121,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