summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2010-08-21 02:26:52 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2010-08-21 02:26:52 +0000
commit0ca553fe4b742d71a4c7cf33ee787ecb93fd4a04 (patch)
treeacea163fff1a910d5dc00b78ae355e6a3c923ac1 /multimedia
parent- Remove share/pixmaps from pkg-plist file (diff)
- Add IA64 support.
- Mark MAKE_JOBS_SAFE. - Fix pkg-plist for WITHOUT_SHARED case. PR: ports/149789 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> Approved by: tabthorpe (mentor)
Notes
Notes: svn path=/head/; revision=259666
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libvpx/Makefile6
-rw-r--r--multimedia/libvpx/files/patch-configure10
-rw-r--r--multimedia/libvpx/pkg-plist8
3 files changed, 20 insertions, 4 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile
index ba1ed503a034..506cc94642cd 100644
--- a/multimedia/libvpx/Makefile
+++ b/multimedia/libvpx/Makefile
@@ -22,6 +22,7 @@ HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_PERL5_BUILD= yes
USE_LDCONFIG= yes
+MAKE_JOBS_SAFE=yes
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYING
@@ -56,6 +57,9 @@ CONFIGURE_ARGS+= --disable-multithread
.if defined(WITH_SHARED)
CONFIGURE_ARGS+= --enable-shared
+PLIST_SUB+= SHARED=""
+.else
+PLIST_SUB+= SHARED="@comment "
.endif
.include <bsd.port.pre.mk>
@@ -64,6 +68,8 @@ CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --target=x86_64-linux-gcc
.elif ${ARCH} == "i386"
CONFIGURE_ARGS+= --target=x86-linux-gcc
+.elif ${ARCH} == "ia64"
+CONFIGURE_ARGS+= --target=ia64-linux-gcc
.else
IGNORE= no support for ${ARCH} the moment. testing/patches are welcome
.endif
diff --git a/multimedia/libvpx/files/patch-configure b/multimedia/libvpx/files/patch-configure
new file mode 100644
index 000000000000..188aa944a635
--- /dev/null
+++ b/multimedia/libvpx/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig 2010-08-18 03:12:08.000000000 +0400
++++ configure 2010-08-18 03:12:08.000000000 +0400
+@@ -82,6 +82,7 @@
+ all_platforms="${all_platforms} armv6-linux-gcc"
+ all_platforms="${all_platforms} armv6-symbian-gcc"
+ all_platforms="${all_platforms} armv6-wince-vs8"
++all_platforms="${all_platforms} ia64-linux-gcc"
+ all_platforms="${all_platforms} iwmmxt-linux-rvct"
+ all_platforms="${all_platforms} iwmmxt-linux-gcc"
+ all_platforms="${all_platforms} iwmmxt-wince-vs8"
diff --git a/multimedia/libvpx/pkg-plist b/multimedia/libvpx/pkg-plist
index d60ca40a9eb7..d2325490328e 100644
--- a/multimedia/libvpx/pkg-plist
+++ b/multimedia/libvpx/pkg-plist
@@ -13,8 +13,8 @@ include/vpx/vpx_encoder.h
include/vpx/vpx_image.h
include/vpx/vpx_integer.h
lib/libvpx.a
-lib/libvpx.so
-lib/libvpx.so.0
-lib/libvpx.so.0.9
-lib/libvpx.so.0.9.1
+%%SHARED%%lib/libvpx.so
+%%SHARED%%lib/libvpx.so.0
+%%SHARED%%lib/libvpx.so.0.9
+%%SHARED%%lib/libvpx.so.0.9.1
@dirrm include/vpx