openbsd-ports/lang/gcc/4.7/patches/patch-libgfortran_Makefile_in
pascal f2b393605c Import gcc 4.7.
ok espie@
2012-04-23 15:56:40 +00:00

16 lines
900 B
Plaintext

$OpenBSD: patch-libgfortran_Makefile_in,v 1.1.1.1 2012/04/23 15:56:41 pascal Exp $
--- libgfortran/Makefile.in.orig Thu Mar 22 08:37:39 2012
+++ libgfortran/Makefile.in Mon Apr 2 16:57:29 2012
@@ -493,9 +493,8 @@ LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-
toolexeclib_LTLIBRARIES = libgfortran.la
toolexeclib_DATA = libgfortran.spec
libgfortran_la_LINK = $(LINK) $(libgfortran_la_LDFLAGS)
-libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` \
- $(LTLDFLAGS) $(LIBQUADLIB) -lm $(extra_ldflags_libgfortran) \
- $(version_arg) -Wc,-shared-libgcc
+include $(top_srcdir)/../libversions
+libgfortran_la_LDFLAGS = $(LIBgfortran_LTVERSION) $(LTLDFLAGS) $(LIBQUADLIB) -lm $(extra_ldflags_libgfortran) $(version_arg) -Wc,-shared-libgcc
libgfortran_la_DEPENDENCIES = $(version_dep) libgfortran.spec $(LIBQUADLIB_DEP)
myexeclib_LTLIBRARIES = libgfortranbegin.la