aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-09-09 17:41:07 +0800
committermiwi <miwi@FreeBSD.org>2009-09-09 17:41:07 +0800
commit079712796974b81f34f5f8c70f8ba080544bb7e1 (patch)
treec507feb97127e2420674f9c1a699c0fefcb05c04 /archivers
parente81cf2952ed6307bff52dae3c2c932d735830541 (diff)
downloadfreebsd-ports-gnome-079712796974b81f34f5f8c70f8ba080544bb7e1.tar.gz
freebsd-ports-gnome-079712796974b81f34f5f8c70f8ba080544bb7e1.tar.zst
freebsd-ports-gnome-079712796974b81f34f5f8c70f8ba080544bb7e1.zip
- Update to 20090203
PR: 131570 Submitted by: "Ganael LAPLANCHE" <ganael.laplanche@martymac.com> (maintainer)
Diffstat (limited to 'archivers')
-rw-r--r--archivers/par2cmdline-tbb/Makefile15
-rw-r--r--archivers/par2cmdline-tbb/distinfo6
-rw-r--r--archivers/par2cmdline-tbb/files/patch-Makefile.am44
-rw-r--r--archivers/par2cmdline-tbb/files/patch-configure11
-rw-r--r--archivers/par2cmdline-tbb/files/patch-md5.h47
-rw-r--r--archivers/par2cmdline-tbb/files/patch-par2cmdline.h11
6 files changed, 65 insertions, 69 deletions
diff --git a/archivers/par2cmdline-tbb/Makefile b/archivers/par2cmdline-tbb/Makefile
index 5f7de43364c3..1336183b9987 100644
--- a/archivers/par2cmdline-tbb/Makefile
+++ b/archivers/par2cmdline-tbb/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= par2cmdline-tbb
-PORTVERSION= 20080420
+PORTVERSION= 20090203
CATEGORIES= archivers
MASTER_SITES= http://chuchusoft.com/par2_tbb/
DISTNAME= par2cmdline-0.4-tbb-${PORTVERSION}
@@ -14,22 +14,21 @@ DISTNAME= par2cmdline-0.4-tbb-${PORTVERSION}
MAINTAINER= ganael.laplanche@martymac.com
COMMENT= Tools for using Parity v2 Archive files (tbb version)
-BUILD_DEPENDS= ${LOCALBASE}/lib/libtbb.so:${PORTSDIR}/devel/tbb \
- ${NONEXISTENT}:${PORTSDIR}/devel/tbb:extract
+BUILD_DEPENDS= ${LOCALBASE}/lib/libtbb.so:${PORTSDIR}/devel/tbb
+ONLY_FOR_ARCHS= i386 amd64 ia64
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+USE_AUTOTOOLS= aclocal:110 automake:110 autoconf:262
+USE_GCC= 4.2+
PORTDOCS= README
CONFLICTS= par2cmdline-[0-9]*
PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify
-TBBWRKSRC= `(cd ${PORTSDIR}/devel/tbb && ${MAKE} -V WRKSRC)`
-
-post-configure:
- @${CP} ${TBBWRKSRC}/src/tbb/tbb_misc.h ${WRKSRC}/tbb_misc.h
- @${REINPLACE_CMD} -e 's|#include "tbb/tbb_misc\.h"|#include "tbb_misc.h"|' ${WRKSRC}/par2cmdline.h
+post-extract:
+ @${CHMOD} u+x ${WRKSRC}/install-sh
post-install:
.if !defined(NOPORTDOCS)
diff --git a/archivers/par2cmdline-tbb/distinfo b/archivers/par2cmdline-tbb/distinfo
index 3836c4f7c0cb..e78f63ce5ec9 100644
--- a/archivers/par2cmdline-tbb/distinfo
+++ b/archivers/par2cmdline-tbb/distinfo
@@ -1,3 +1,3 @@
-MD5 (par2cmdline-0.4-tbb-20080420.tar.gz) = 806d0a4810da2d8fca2375ca12e07fcd
-SHA256 (par2cmdline-0.4-tbb-20080420.tar.gz) = 37220ff064b256e24f59b4c733baeffd124efa1551ff32d469ca574f40aae3c1
-SIZE (par2cmdline-0.4-tbb-20080420.tar.gz) = 283148
+MD5 (par2cmdline-0.4-tbb-20090203.tar.gz) = f32c83c524f55171e8d639d6bfe9a7d8
+SHA256 (par2cmdline-0.4-tbb-20090203.tar.gz) = 6105dd1a4debd773a35d3274ef8d3ab97f1f25c55d130e2596201a5b850838a4
+SIZE (par2cmdline-0.4-tbb-20090203.tar.gz) = 320864
diff --git a/archivers/par2cmdline-tbb/files/patch-Makefile.am b/archivers/par2cmdline-tbb/files/patch-Makefile.am
new file mode 100644
index 000000000000..9afd0d08c7b0
--- /dev/null
+++ b/archivers/par2cmdline-tbb/files/patch-Makefile.am
@@ -0,0 +1,44 @@
+--- Makefile.am.orig 2009-02-09 13:44:21.426445712 +0100
++++ Makefile.am 2009-02-09 13:45:18.592707625 +0100
+@@ -22,23 +22,23 @@
+ bin_PROGRAMS = par2
+
+ if AMD64
+-ARCH = x86_64
++ARCH_SCALAR = x86_64
+ ARCH_MMX = x86_64
+ endif
+ if X86MMX
+-ARCH = i386
++ARCH_SCALAR = i386
+ ARCH_MMX = i686
+ else
+ if X86CPU
+-ARCH = i386
++ARCH_SCALAR = i386
+ ARCH_MMX = i686
+ endif
+ endif
+ if PPC64
+-ARCH = ppc64
++ARCH_SCALAR = ppc64
+ endif
+ if PPC32
+-ARCH = ppc
++ARCH_SCALAR = ppc
+ endif
+
+ if PLATFORM_DARWIN
+@@ -55,10 +55,10 @@
+ endif
+
+ if AMD64
+-ASMSOURCES = reedsolomon-$(ARCH)-scalar-$(PLATFORM).s reedsolomon-$(ARCH_MMX)-mmx-$(PLATFORM).s
++ASMSOURCES = reedsolomon-$(ARCH_SCALAR)-scalar-$(PLATFORM).s reedsolomon-$(ARCH_MMX)-mmx-$(PLATFORM).s
+ endif
+ if X86CPU
+-ASMSOURCES = reedsolomon-$(ARCH)-scalar-$(PLATFORM).s reedsolomon-$(ARCH_MMX)-mmx-$(PLATFORM).s $(ASMSOURCES_PLATFORM)
++ASMSOURCES = reedsolomon-$(ARCH_SCALAR)-scalar-$(PLATFORM).s reedsolomon-$(ARCH_MMX)-mmx-$(PLATFORM).s $(ASMSOURCES_PLATFORM)
+ endif
+
+ if GPGPU_CUDA
diff --git a/archivers/par2cmdline-tbb/files/patch-configure b/archivers/par2cmdline-tbb/files/patch-configure
new file mode 100644
index 000000000000..8022ce18c3c8
--- /dev/null
+++ b/archivers/par2cmdline-tbb/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2009-02-09 06:07:02.000000000 +0100
++++ configure 2009-02-09 06:09:27.000000000 +0100
+@@ -4113,7 +4113,7 @@
+
+
+ case "$host_cpu" in
+- x86_64|amd64)
++ x86_64|amd64|ia64)
+ { echo "$as_me:$LINENO: result: SSE2_on_x86_64 is enabled" >&5
+ echo "${ECHO_T}SSE2_on_x86_64 is enabled" >&6; }
+ if true; then
diff --git a/archivers/par2cmdline-tbb/files/patch-md5.h b/archivers/par2cmdline-tbb/files/patch-md5.h
deleted file mode 100644
index 11d5313cca23..000000000000
--- a/archivers/par2cmdline-tbb/files/patch-md5.h
+++ /dev/null
@@ -1,47 +0,0 @@
---- md5.h.orig 2008-05-06 13:24:40.000000000 +0200
-+++ md5.h 2008-05-06 13:24:58.000000000 +0200
-@@ -38,11 +38,8 @@
- class MD5Hash
- {
- public:
-- // removed this to stop GCC warnings about using the 'pack' attribute on
-- // non-POD members in classes such as PACKET_HEADER:
--
- // Constructor does not initialise the value
-- //MD5Hash(void) {};
-+ MD5Hash(void) {};
-
- // Comparison operators
- bool operator==(const MD5Hash &other) const;
-@@ -57,12 +54,9 @@
- friend ostream& operator<<(ostream &s, const MD5Hash &hash);
- string print(void) const;
-
-- // removed these to stop GCC warnings about using the 'pack' attribute on
-- // non-POD members in classes such as PACKET_HEADER:
--
- // Copy and assignment
-- //MD5Hash(const MD5Hash &other);
-- //MD5Hash& operator=(const MD5Hash &other);
-+ MD5Hash(const MD5Hash &other);
-+ MD5Hash& operator=(const MD5Hash &other);
-
- public:
- u8 hash[16]; // 16 byte MD5 Hash value
-@@ -150,7 +144,7 @@
- return !other.operator<(*this);
- }
-
--/*inline MD5Hash::MD5Hash(const MD5Hash &other)
-+inline MD5Hash::MD5Hash(const MD5Hash &other)
- {
- memcpy(&hash, &other.hash, sizeof(hash));
- }
-@@ -160,6 +154,6 @@
- memcpy(&hash, &other.hash, sizeof(hash));
-
- return *this;
--}*/
-+}
-
- #endif // __MD5_H__
diff --git a/archivers/par2cmdline-tbb/files/patch-par2cmdline.h b/archivers/par2cmdline-tbb/files/patch-par2cmdline.h
deleted file mode 100644
index 44f922adc3a5..000000000000
--- a/archivers/par2cmdline-tbb/files/patch-par2cmdline.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- par2cmdline.h.orig 2008-05-01 08:53:49.729467641 +0200
-+++ par2cmdline.h 2008-05-01 08:54:02.616707220 +0200
-@@ -443,7 +443,7 @@
- incrementing_parallel_while_with_max> >& w,
- ITEM* item)
- {
-- const size_t n = item->is_first() ? tbb::DetectNumberOfWorkers() : 1;
-+ const size_t n = item->is_first() ? tbb::internal::DetectNumberOfWorkers() : 1;
-
- bool res = false;
- std::pair<bool, size_t> pr(w.increment_next_i());