pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
various: Add MULTIARCH support.
Module Name: pkgsrc-wip
Committed By: Jonathan Perkin <jperkin%joyent.com@localhost>
Pushed By: jperkin
Date: Fri Oct 2 12:40:25 2015 +0100
Changeset: 3afcd6f655830003dbfcaf882f6caf465a2a5a4c
Modified Files:
libee/Makefile
libeio/Makefile
p5-Imager/Makefile
p5-JavaScript-SpiderMonkey/Makefile
v8-316/Makefile
v8/Makefile
Log Message:
various: Add MULTIARCH support.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3afcd6f655830003dbfcaf882f6caf465a2a5a4c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libee/Makefile | 1 +
libeio/Makefile | 1 +
p5-Imager/Makefile | 2 ++
p5-JavaScript-SpiderMonkey/Makefile | 2 ++
v8-316/Makefile | 8 +++++---
v8/Makefile | 8 +++++---
6 files changed, 16 insertions(+), 6 deletions(-)
diffs:
diff --git a/libee/Makefile b/libee/Makefile
index 21d4101de3..cc93bd8735 100644
--- a/libee/Makefile
+++ b/libee/Makefile
@@ -17,6 +17,7 @@ MAKE_JOBS_SAFE= no
USE_LIBTOOL= yes
USE_TOOLS+= bash pkg-config
+USE_MULTIARCH= lib
PKGCONFIG_OVERRIDE+= libee.pc.in
diff --git a/libeio/Makefile b/libeio/Makefile
index 206f20c5f0..4600e8e89b 100644
--- a/libeio/Makefile
+++ b/libeio/Makefile
@@ -14,6 +14,7 @@ LICENSE= 2-clause-bsd OR gnu-gpl-v2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= autoconf automake
+USE_MULTIARCH= lib
WRKSRC= ${WRKDIR}/${PKGBASE}-${DISTNAME}
diff --git a/p5-Imager/Makefile b/p5-Imager/Makefile
index 96a4ff92a2..e71f6fe04a 100644
--- a/p5-Imager/Makefile
+++ b/p5-Imager/Makefile
@@ -10,6 +10,8 @@ HOMEPAGE= http://search.cpan.org/~tonyc/Imager/
COMMENT= Perl module for manipulating gray, color, and RGBA format images
LICENSE= ${PERL5_LICENSE}
+USE_MULTIARCH= lib
+
PERL5_PACKLIST= auto/Imager/.packlist
.include "../../fonts/t1lib/buildlink3.mk"
diff --git a/p5-JavaScript-SpiderMonkey/Makefile b/p5-JavaScript-SpiderMonkey/Makefile
index f3ff6cd551..9db14fd326 100644
--- a/p5-JavaScript-SpiderMonkey/Makefile
+++ b/p5-JavaScript-SpiderMonkey/Makefile
@@ -14,6 +14,8 @@ COMMENT= Perl interface to the JavaScript Engine
MAKE_PARAMS+= INC=${PREFIX}/include
+USE_MULTIARCH= lib
+
SUBST_CLASSES+= fix-lib
SUBST_STAGE.fix-lib= pre-configure
SUBST_MESSAGE.fix-lib= Fixing library detection
diff --git a/v8-316/Makefile b/v8-316/Makefile
index ac6a7b8f5d..979eacd104 100644
--- a/v8-316/Makefile
+++ b/v8-316/Makefile
@@ -15,6 +15,8 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-gyp-[0-9]*:../../devel/gyp
USE_LANGUAGES= c c++
USE_TOOLS+= gmake:run
+USE_MULTIARCH= yes
+
NO_CONFIGURE= yes
BUILD_TARGET= native
TEST_TARGET= native.check
@@ -42,7 +44,7 @@ REPLACE_PYTHON= tools/*.py tools/*/*.py tools/*/*/*.py
REPLACE_PYTHON+= third_party/icu/source/*/*.py
REPLACE_PYTHON+= third_party/icu/source/*/*/*.py
-INSTALLATION_DIRS+= bin include lib
+INSTALLATION_DIRS+= bin include lib${LIBARCHSUFFIX}
INSTALL_INCLUDES= v8-debug.h v8-preparser.h v8-profiler.h
INSTALL_INCLUDES+= v8-testing.h v8.h
@@ -54,8 +56,8 @@ do-install:
${INSTALL_LIB} ${WRKSRC}/out/native/libv8.dylib ${DESTDIR}${PREFIX}/lib/libv8.1.dylib
${LN} -sf libv8.1.dylib ${DESTDIR}${PREFIX}/lib/libv8.dylib
.else
- ${INSTALL_LIB} ${WRKSRC}/out/native/lib.target/libv8.so ${DESTDIR}${PREFIX}/lib/libv8.so.1
- ${LN} -sf libv8.so.1 ${DESTDIR}${PREFIX}/lib/libv8.so
+ ${INSTALL_LIB} ${WRKSRC}/out/native/lib.target/libv8.so ${DESTDIR}${PREFIX}/lib${LIBARCHSUFFIX}/libv8.so.1
+ ${LN} -sf libv8.so.1 ${DESTDIR}${PREFIX}/lib${LIBARCHSUFFIX}/libv8.so
.endif
.for inc in ${INSTALL_INCLUDES}
${INSTALL_DATA} ${WRKSRC}/include/${inc} ${DESTDIR}${PREFIX}/include
diff --git a/v8/Makefile b/v8/Makefile
index 81f4da5d9e..7b85e566c5 100644
--- a/v8/Makefile
+++ b/v8/Makefile
@@ -15,6 +15,8 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-gyp-[0-9]*:../../devel/gyp
USE_LANGUAGES= c c++
USE_TOOLS+= gmake:run
+USE_MULTIARCH= yes
+
NO_CONFIGURE= yes
#BUILD_TARGET= native
#TEST_TARGET= native.check
@@ -58,7 +60,7 @@ REPLACE_PYTHON= tools/*.py tools/*/*.py tools/*/*/*.py
REPLACE_PYTHON+= third_party/icu/source/*/*.py
REPLACE_PYTHON+= third_party/icu/source/*/*/*.py
-INSTALLATION_DIRS+= bin include lib
+INSTALLATION_DIRS+= bin include lib${LIBARCHSUFFIX}
INSTALL_INCLUDES= v8-debug.h v8-platform.h v8-profiler.h
INSTALL_INCLUDES+= v8-testing.h v8-util.h v8.h
@@ -80,8 +82,8 @@ do-install:
${INSTALL_LIB} ${WRKSRC}/out/native/libv8.dylib ${DESTDIR}${PREFIX}/lib/libv8.1.dylib
${LN} -sf libv8.1.dylib ${DESTDIR}${PREFIX}/lib/libv8.dylib
.else
- ${INSTALL_LIB} ${WRKSRC}/out/native/lib.target/libv8.so ${DESTDIR}${PREFIX}/lib/libv8.so.1
- ${LN} -sf libv8.so.1 ${DESTDIR}${PREFIX}/lib/libv8.so
+ ${INSTALL_LIB} ${WRKSRC}/out/native/lib.target/libv8.so ${DESTDIR}${PREFIX}/lib${LIBARCHSUFFIX}/libv8.so.1
+ ${LN} -sf libv8.so.1 ${DESTDIR}${PREFIX}/lib${LIBARCHSUFFIX}/libv8.so
.endif
.for inc in ${INSTALL_INCLUDES}
${INSTALL_DATA} ${WRKSRC}/include/${inc} ${DESTDIR}${PREFIX}/include
Home |
Main Index |
Thread Index |
Old Index