freebsd-ports/math/scilab/files/patch-ab
Patrick Li 0018a485aa - add patches from NetBSD (fixes for ascii(), fft() and the online help)
- Provide a working default PVM configuration.
- Remove unneeded pvm files form the install.

PR:		34276
Submitted by:	maintainer
Obtained from:	NetBSD
2002-01-30 05:59:03 +00:00

44 lines
1.4 KiB
Plaintext

--- Makefile.in.orig Mon Mar 26 09:59:13 2001
+++ Makefile.in Fri Jan 25 16:38:50 2002
@@ -111,12 +111,6 @@
$(SCIBASE)/macros \
$(SCIBASE)/man \
$(SCIBASE)/maple \
- $(SCIBASE)/pvm3/lib/pvm \
- $(SCIBASE)/pvm3/lib/pvmd \
- $(SCIBASE)/pvm3/lib/pvmtmparch \
- $(SCIBASE)/pvm3/lib/pvmgetarch \
- $(SCIBASE)/pvm3/lib/@PVMARCH@/pvmd3 \
- $(SCIBASE)/pvm3/lib/@PVMARCH@/pvmgs \
$(SCIBASE)/routines/*.h \
$(SCIBASE)/routines/Make.lib \
$(SCIBASE)/routines/default/FCreate \
@@ -147,7 +141,7 @@
cd .. ; tar cvf $(SCIDIR)/$(SCIBASE)-bin.tar $(BINDISTFILES)
$(RM) .binary
-LIBPREFIX = @prefix@/lib
+LIBPREFIX = @prefix@
install:
@if test `pwd` != ${LIBPREFIX}/$(SCIBASE); then \
@@ -159,12 +153,12 @@
(cd ${LIBPREFIX}/$(SCIBASE); make); \
$(RM) .binary; \
fi
- $(RM) /usr/bin/scilab
- ln -fs ${LIBPREFIX}/$(SCIBASE)/bin/scilab /usr/bin/scilab
- $(RM) /usr/bin/intersci
- ln -fs ${LIBPREFIX}/$(SCIBASE)/bin/intersci /usr/bin/intersci
- $(RM) /usr/bin/intersci-n
- ln -fs ${LIBPREFIX}/$(SCIBASE)/bin/intersci-n /usr/bin/intersci-n
+ $(RM) @prefix@/bin/scilab
+ ln -fs ${LIBPREFIX}/$(SCIBASE)/bin/scilab @prefix@/bin/scilab
+ $(RM) @prefix@/bin/intersci
+ ln -fs ${LIBPREFIX}/$(SCIBASE)/bin/intersci @prefix@/bin/intersci
+ $(RM) @prefix@/bin/intersci-n
+ ln -fs ${LIBPREFIX}/$(SCIBASE)/bin/intersci-n @prefix@/bin/intersci-n
uninstall:
$(RM) -r ${LIBPREFIX}/$(SCIBASE)