Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2011 03:00:17 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/155858: Update port: audio/linuxsampler
Message-ID:  <20110323030017.2328b11d.tkato432@yahoo.com>
Resent-Message-ID: <201103221830.p2MIU2O8045038@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         155858
>Category:       ports
>Synopsis:       Update port: audio/linuxsampler
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 22 18:30:02 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.3-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Fix build

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/linuxsampler/Makefile audio/linuxsampler/Makefile
--- /usr/ports/audio/linuxsampler/Makefile	2011-01-27 16:19:11.000000000 +0900
+++ audio/linuxsampler/Makefile	2011-03-22 15:36:45.000000000 +0900
@@ -15,28 +15,34 @@
 
 LIB_DEPENDS=	jack.0:${PORTSDIR}/audio/jack \
 		gig.10:${PORTSDIR}/audio/libgig \
-		sqlite3.8:${PORTSDIR}/databases/sqlite3
 
-ONLY_FOR_ARCHS=	"i386 amd64"
+RESTRICTED=	no commercial use
+
+ONLY_FOR_ARCHS=	i386 amd64
 ONLY_FOR_ARCHS_REASON=	"not yet ported"
-BROKEN=		does not fetch
-DEPRECATED=		"${BROKEN}"
-EXPIRATION_DATE=	2011-03-26
 
 USE_BZIP2=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	"HAVE_UNIX98=1"
-CFLAGS+=	"-I${LOCALBASE}/include"
+USE_GNOME=	gnomehack
+USE_SQLITE=	3
 USE_GMAKE=	yes
-USE_GNOME=	gnomehack gnomeprefix gnometarget
+USE_AUTOTOOLS=	libtool
+CONFIGURE_ENV=	HAVE_UNIX98=1
+CONFIGURE_ARGS=	LDFLAGS="${LDFLAGS}"
 USE_LDCONFIG=	yes
-RESTRICTED=	no commercial use
+
 MAN1=		linuxsampler.1
 
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib
+
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} < 700000 || ${OSVERSION} >= 900000
 BROKEN=		Does not compile
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|CXX_CPU_SWITCH=.*|CXX_CPU_SWITCH=|g' ${WRKSRC}/configure
+
 .include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110323030017.2328b11d.tkato432>