From: Sébastien Fabbro Date: Thu, 6 Jul 2017 19:38:30 +0000 (+0000) Subject: sci-astronomy/sofa_c: fixed patch for as-needed X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7ed8bef03903673f81768f3fae3a1bdaa90453fa;p=gentoo.git sci-astronomy/sofa_c: fixed patch for as-needed Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- diff --git a/sci-astronomy/sofa_c/files/sofa_c-makefile.patch b/sci-astronomy/sofa_c/files/sofa_c-makefile.patch index 3a942e3bed92..00c1a6ae735d 100644 --- a/sci-astronomy/sofa_c/files/sofa_c-makefile.patch +++ b/sci-astronomy/sofa_c/files/sofa_c-makefile.patch @@ -97,7 +97,7 @@ ar ru $(SOFA_LIB_NAME) $? +$(SOFA_SHLIB_NAME): $(SOFA_OBS) -+ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(SOFA_SHLIB_NAME).0 -lm $? -o $(SOFA_SHLIB_NAME).0.0 ++ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(SOFA_SHLIB_NAME).0 $? -lm -o $(SOFA_SHLIB_NAME).0.0 + ln -sfn $(SOFA_SHLIB_NAME).0.0 $(SOFA_SHLIB_NAME).0 + # Install the header files.