ports/lang/pure/files/patch-Makefile
Mikhail Teterin 6f2b46a5c2 Unbreak by upgrading from 0.58 to 0.64 released last Autumn. The latest
version supports all versions of LLVM except 3.6.

While here:

	* Make detection of the installed LLVM automatic, using the
	  latest installed or 3.5 if none are present. It is possible
	  to supply a different value by setting LLVM_VERSION.
	  (Somebody ought to port llvm to the DEFAULT_VERSIONS framework.)
	* Do not even download the docs, if the DOCS-option is off.
	* If DOCS-option is on, do not install the *.tm files.
	* Force the tool to look for documentation in ${DOCSDIR}.
	* Add the functional regression-check target to Makefile.

Approved by:	being condemned too often for too long
2015-04-10 00:54:10 +00:00

18 lines
617 B
Text

Fix shared-library symlink to be relative (and local), rather than
absolute.
-mi
--- Makefile.in 2014-10-28 05:39:12.000000000 -0400
+++ Makefile.in 2015-04-09 19:41:53.000000000 -0400
@@ -366,8 +366,8 @@
$(INSTALL) $(libpure) $(DESTDIR)$(libdir)/$(libpure)
ifneq ($(libpure), $(libpure_soname))
- ln -sf $(libdir)/$(libpure) $(DESTDIR)$(libdir)/$(libpure_soname)
+ ln -sf $(libpure) $(DESTDIR)$(libdir)/$(libpure_soname)
endif
ifneq ($(libpure), $(libpure_lnkname))
- ln -sf $(libdir)/$(libpure) $(DESTDIR)$(libdir)/$(libpure_lnkname)
+ ln -sf $(libpure) $(DESTDIR)$(libdir)/$(libpure_lnkname)
endif
endif