opnsense-ports/math/algae/files/patch-src-Makefile.in
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

24 lines
693 B
Text

--- src/Makefile.in.orig
+++ src/Makefile.in
@@ -48,7 +48,7 @@
# Libraries.
-LIBS = -L../arpack -larpack -L../superlu -lsuperlu @LOCAL_LIBS@ @LIBS@
+LIBS = ../arpack/libarpack.a ../superlu/libsuperlu.a @LOCAL_LIBS@ @LIBS@
# Source files.
@@ -218,9 +218,9 @@
# ========================== Installation ==========================
install: all
- $(INSTALL_PROGRAM) algae $(bindir)/algae-$(VERSION_NUMBER)
- rm -f $(bindir)/algae
- ln -s $(bindir)/algae-$(VERSION_NUMBER) $(bindir)/algae
+ $(INSTALL_PROGRAM) algae $(DESTDIR)$(bindir)/algae-$(VERSION_NUMBER)
+ rm -f $(DESTDIR)$(bindir)/algae
+ ln -s algae-$(VERSION_NUMBER) $(DESTDIR)$(bindir)/algae
.PHONY: install
uninstall: