aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/par2cmdline-tbb/Makefile
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-02-18 20:36:38 +0800
committeritetcu <itetcu@FreeBSD.org>2009-02-18 20:36:38 +0800
commite849686211fd15a0c58d2dc2f18cd35c9d106f37 (patch)
tree232bbab37eee219ab5dbfef68ecbf0f216a2b453 /archivers/par2cmdline-tbb/Makefile
parent73e2eca86bf05a32a8589ce8b498589c8f7ec30c (diff)
downloadfreebsd-ports-gnome-e849686211fd15a0c58d2dc2f18cd35c9d106f37.tar.gz
freebsd-ports-gnome-e849686211fd15a0c58d2dc2f18cd35c9d106f37.tar.zst
freebsd-ports-gnome-e849686211fd15a0c58d2dc2f18cd35c9d106f37.zip
Force commit to backout previous one, this update depends on devel/tbb being
updated to v2.1 (ports/129686).
Diffstat (limited to 'archivers/par2cmdline-tbb/Makefile')
-rw-r--r--archivers/par2cmdline-tbb/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/archivers/par2cmdline-tbb/Makefile b/archivers/par2cmdline-tbb/Makefile
index 1336183b9987..8deb29c75aed 100644
--- a/archivers/par2cmdline-tbb/Makefile
+++ b/archivers/par2cmdline-tbb/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= par2cmdline-tbb
-PORTVERSION= 20090203
+PORTVERSION= 20080420
CATEGORIES= archivers
MASTER_SITES= http://chuchusoft.com/par2_tbb/
DISTNAME= par2cmdline-0.4-tbb-${PORTVERSION}
@@ -14,21 +14,22 @@ 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
+BUILD_DEPENDS= ${LOCALBASE}/lib/libtbb.so:${PORTSDIR}/devel/tbb \
+ ${NONEXISTENT}:${PORTSDIR}/devel/tbb:extract
-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+
+ LDFLAGS="-L${LOCALBASE}/lib"
PORTDOCS= README
CONFLICTS= par2cmdline-[0-9]*
PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify
-post-extract:
- @${CHMOD} u+x ${WRKSRC}/install-sh
+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-install:
.if !defined(NOPORTDOCS)