- Fix build on -current
Responsible Changed From-To: freebsd-ports-bugs->miwi miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Remake of the patch against current tree.
State Changed From-To: open->feedback plist failes http://pkgdev.miwibox.org/data/84amd64-default/2014-05-17_16h47m15s/logs/errors/nekobee-0.1.8_1.log
Here is the corrected patch.
State Changed From-To: feedback->closed Committed. Thanks!
Author: miwi Date: Wed May 21 05:40:08 2014 New Revision: 354709 URL: http://svnweb.freebsd.org/changeset/ports/354709 QAT: https://qat.redports.org/buildarchive/r354709/ Log: - Fix build with clang PR: 188137 Submitted by: Ports Fury Modified: head/audio/nekobee/Makefile head/audio/nekobee/pkg-plist Modified: head/audio/nekobee/Makefile ============================================================================== --- head/audio/nekobee/Makefile Wed May 21 05:38:50 2014 (r354708) +++ head/audio/nekobee/Makefile Wed May 21 05:40:08 2014 (r354709) @@ -3,7 +3,7 @@ PORTNAME= nekobee PORTVERSION= 0.1.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= GH @@ -26,20 +26,21 @@ USE_GNOME= gtk20 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: - @${REINPLACE_CMD} '/LINKFLAGS/d' ${WRKSRC}/wscript @(cd ${WRKSRC} && ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" \ - LINKFLAGS="-lm" \ - CPPFLAGS="${CPPFLAGS}" ./waf configure --prefix=${PREFIX}) + CPPFLAGS="${CPPFLAGS}" LINKFLAGS="-lm" \ + ./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 --destdir=${STAGEDIR}) + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dssi/nekobee.so + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dssi/nekobee/nekobee_gtk .include <bsd.port.mk> Modified: head/audio/nekobee/pkg-plist ============================================================================== --- head/audio/nekobee/pkg-plist Wed May 21 05:38:50 2014 (r354708) +++ head/audio/nekobee/pkg-plist Wed May 21 05:40:08 2014 (r354709) @@ -3,3 +3,4 @@ lib/dssi/nekobee/nekobee_gtk lib/dssi/nekobee/switch.png lib/dssi/nekobee.so @dirrm lib/dssi/nekobee +@dirrmtry lib/dssi _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"