ports/188137: audio/nekobee: Fix build on -current

KATO Tsuguru tkato432 at yahoo.com
Mon Mar 31 18:40:01 UTC 2014


>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:


More information about the freebsd-ports-bugs mailing list