openbsd-ports/lang/gfortran/patches/patch-libgfortran_Makefile_in
steven 6f0b523996 import separate port of gfortran 4.2.1, in sync with the base compiler.
meant to be used on archs that have gcc4 in base, this doesn't require a
full gcc build from ports, and provides libgfortran as a subpackage.

idea from espie some months ago.
2010-10-10 17:39:06 +00:00

14 lines
777 B
Plaintext

$OpenBSD: patch-libgfortran_Makefile_in,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $
--- libgfortran/Makefile.in.orig Wed Mar 7 23:37:37 2007
+++ libgfortran/Makefile.in Sun Mar 18 23:58:46 2007
@@ -382,7 +382,8 @@ toolexeclibdir = @toolexeclibdir@
ACLOCAL_AMFLAGS = -I ../config
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
toolexeclib_LTLIBRARIES = libgfortran.la
-libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` -lm $(extra_ldflags_libgfortran)
+include $(top_srcdir)/../libversions
+libgfortran_la_LDFLAGS = $(LIBgfortran_LTVERSION) -lm $(extra_ldflags_libgfortran)
myexeclib_LTLIBRARIES = libgfortranbegin.la
myexeclibdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR)
libgfortranbegin_la_SOURCES = fmain.c