openbsd-ports/math/R/patches/patch-src_main_Makefile_in
dcoppa 6184068293 Remove pthread patching.
I'm doing this now to ease an upcoming update to R-2.15.2
2012-10-25 11:59:30 +00:00

24 lines
829 B
Plaintext

$OpenBSD: patch-src_main_Makefile_in,v 1.6 2012/10/25 11:59:30 dcoppa Exp $
Fix linking with external libintl
--- src/main/Makefile.in.orig Fri Mar 2 00:02:24 2012
+++ src/main/Makefile.in Thu Oct 25 11:27:43 2012
@@ -11,6 +11,7 @@ subdir = src/main
R_HOME=$(top_builddir)
include $(top_builddir)/Makeconf
+DYLIB_EXT=.so.$(LIBR_VERSION)
SOURCES_C = \
CConverters.c CommandLineArgs.c \
@@ -98,7 +99,7 @@ EXTRA_STATIC_LIBS = \
$(R_ZLIBS) $(R_BZLIBS) $(R_PCRE) $(R_TRE) $(R_XDR) $(R_XZ) $(R_LIBINTL)
STATIC_LIBS = $(MAIN_LIBS) $(EXTRA_STATIC_LIBS)
-EXTRA_LIBS = $(BLAS_LIBS) $(FLIBS) $(R_XTRA_LIBS) @LIBINTL@ $(READLINE_LIBS) $(LIBS)
+EXTRA_LIBS = $(BLAS_LIBS) $(FLIBS) $(R_XTRA_LIBS) @LTLIBINTL@ $(READLINE_LIBS) $(LIBS)
R_binary = R.bin
R_bin_OBJECTS = Rmain.o @BUILD_LTO_TRUE@@WANT_R_SHLIB_FALSE@$(OBJECTS)