Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2014 03:25:57 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/188137: audio/nekobee: Fix build on -current
Message-ID:  <20140401032557.e62e06572a04347acc56a198@yahoo.com>
Resent-Message-ID: <201403311840.s2VIe02i004860@freefall.freebsd.org>

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

>Number:         188137
>Category:       ports
>Synopsis:       audio/nekobee: Fix build on -current
>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:   Mon Mar 31 18:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Fix build on -current

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/nekobee/Makefile audio/nekobee/Makefile
--- /usr/ports/audio/nekobee/Makefile	2013-12-12 02:41:47.000000000 +0900
+++ audio/nekobee/Makefile	2014-04-01 00:00:00.000000000 +0900
@@ -18,7 +18,6 @@
 		libjack.so:${PORTSDIR}/audio/jack
 
 USE_GITHUB=	yes
-NO_STAGE=	yes
 GH_ACCOUNT=	gordonjcp
 GH_COMMIT=	3f4737f
 
@@ -27,9 +26,9 @@
 
 CPPFLAGS+=	-I${LOCALBASE}/include/dssi -I${LOCALBASE}/include
 
-.if !defined(DISABLE_MAKE_JOBS)
-MAKE_JOBS_ARGS=	-j${MAKE_JOBS_NUMBER}
-.endif
+post-patch:
+	@${REINPLACE_CMD} -e \
+		'/LINKFLAGS/s|^|#|' ${WRKSRC}/wscript
 
 do-configure:
 	@(cd ${WRKSRC} && ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" \
@@ -37,9 +36,9 @@
 		CPPFLAGS="${CPPFLAGS}" ./waf configure --prefix=${PREFIX})
 
 do-build:
-	@(cd ${WRKSRC} && ./waf build -vvv ${MAKE_JOBS_ARGS})
+	@(cd ${WRKSRC} && ./waf build -vvv -j${MAKE_JOBS_NUMBER})
 
 do-install:
-	@(cd ${WRKSRC} && ./waf install)
+	@(cd ${WRKSRC} && ./waf install --destdir=${STAGEDIR})
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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