SHARED_LIBS

This commit is contained in:
steven 2006-01-06 17:42:01 +00:00
parent 25437a3405
commit e9114d7134
3 changed files with 20 additions and 5 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.13 2005/10/08 09:47:36 mbalmer Exp $
# $OpenBSD: Makefile,v 1.14 2006/01/06 17:42:01 steven Exp $
SHARED_ONLY= Yes
COMMENT= "clone of S, a powerful math/statistics/graphics language"
DISTNAME= R-2.1.1
SHARED_LIBS= Rlapack 21.1
CATEGORIES= math
HOMEPAGE= http://www.r-project.org/
@ -39,9 +40,11 @@ CONFIGURE_ENV= FFLAGS="${FFLAGS}"
MAKE_FLAGS= INSTALL='install -c' \
INSTALL_DATA='install -c -m 644' \
INSTALL_PROGRAM='install -c -s -m 555' \
INSTALL_SCRIPT='install -c -m 555'
INSTALL_SCRIPT='install -c -m 555' \
LIBRlapack_VERSION=${LIBRlapack_VERSION}
FAKE_FLAGS= PREFIX=${PREFIX} DESTDIR=${WRKINST}
FAKE_FLAGS= PREFIX=${PREFIX} DESTDIR=${WRKINST} \
LIBRlapack_VERSION=${LIBRlapack_VERSION}
post-install:
perl -i -pe 's:^R_HOME_DIR=.*:R_HOME_DIR=${TRUEPREFIX}/lib/R:' \

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_modules_lapack_Makefile_in,v 1.1 2006/01/06 17:42:01 steven Exp $
--- src/modules/lapack/Makefile.in.orig Mon Apr 18 13:34:36 2005
+++ src/modules/lapack/Makefile.in Fri Jan 6 17:49:04 2006
@@ -11,6 +11,8 @@ R_HOME = $(top_builddir)
include $(top_builddir)/Makeconf
+DYLIB_EXT=.so.$(LIBRlapack_VERSION)
+
SOURCES_C = Lapack.c
SOURCES_F = @USE_EXTERNAL_LAPACK_FALSE@ rgeev.f rsyev.f

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.8 2005/10/08 09:47:37 mbalmer Exp $
@comment $OpenBSD: PLIST,v 1.9 2006/01/06 17:42:01 steven Exp $
bin/R
lib/R/
lib/R/AUTHORS
@ -112,7 +112,7 @@ lib/R/include/Rmath.h
lib/R/include/Rversion.h
lib/R/include/S.h
lib/R/lib/
@lib lib/R/lib/libRlapack.so.21.1
@lib lib/R/lib/libRlapack.so.${LIBRlapack_VERSION}
lib/R/library/
lib/R/library/KernSmooth/
lib/R/library/KernSmooth/CONTENTS