[Midnightbsd-cvs] mports [24554] trunk/multimedia/schroedinger: fix build of schroedinger

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 20 21:09:05 EDT 2018


Revision: 24554
          http://svnweb.midnightbsd.org/mports/?rev=24554
Author:   laffer1
Date:     2018-10-20 21:09:05 -0400 (Sat, 20 Oct 2018)
Log Message:
-----------
fix build of schroedinger

Modified Paths:
--------------
    trunk/multimedia/schroedinger/Makefile
    trunk/multimedia/schroedinger/pkg-descr

Modified: trunk/multimedia/schroedinger/Makefile
===================================================================
--- trunk/multimedia/schroedinger/Makefile	2018-10-21 00:31:27 UTC (rev 24553)
+++ trunk/multimedia/schroedinger/Makefile	2018-10-21 01:09:05 UTC (rev 24554)
@@ -2,7 +2,7 @@
 
 PORTNAME=	schroedinger
 PORTVERSION=	1.0.11
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	multimedia
 MASTER_SITES=	http://diracvideo.org/download/schroedinger/
 
@@ -11,10 +11,10 @@
 
 LICENSE=	gpl2 lgpl mit mpl
 LICENSE_COMB=	dual
-LICENSE_FILE_MIT=	${WRKSRC}/COPYING.MIT
-LICENSE_FILE_MPL=	${WRKSRC}/COPYING.MPL
+LICENSE_FILE_mit=	${WRKSRC}/COPYING.MIT
+LICENSE_FILE_mpl=	${WRKSRC}/COPYING.MPL
 
-LIB_DEPENDS=	liborc-0.4.so:${PORTSDIR}/devel/orc
+LIB_DEPENDS=	liborc-0.4.so:devel/orc
 
 USES=		libtool pkgconfig
 GNU_CONFIGURE=	yes
@@ -23,6 +23,9 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|^pkgconfigdir=.*|pkgconfigdir="\\$${prefix}/libdata/pkgconfig"|' \
-		-e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+		${WRKSRC}/configure
+# Derived from upstream git commit ee011f33f80c9691a6cfd5116101fdcf8c3cd6f7
+	@${REINPLACE_CMD} '/^wavelet_max_gain_OBJECTS =/s/=/= tmp-orc.$$(OBJEXT)/' \
+		${WRKSRC}/testsuite/Makefile.in
 
 .include <bsd.port.mk>

Modified: trunk/multimedia/schroedinger/pkg-descr
===================================================================
--- trunk/multimedia/schroedinger/pkg-descr	2018-10-21 00:31:27 UTC (rev 24553)
+++ trunk/multimedia/schroedinger/pkg-descr	2018-10-21 01:09:05 UTC (rev 24554)
@@ -1,6 +1,6 @@
 Schrodinger is a high-speed Dirac codec being developed by Fluendo in
 partnership with the BBC. The main developer is David Schleef, who
 developed the liboil optimisation library which is heavily used in
-the project. 
+the project.
 
 WWW: http://www.diracvideo.org/



More information about the Midnightbsd-cvs mailing list