Bug 188137 - audio/nekobee: Fix build on -current
Summary: audio/nekobee: Fix build on -current
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-31 19:40 UTC by tkato432
Modified: 2014-05-21 06:50 UTC (History)
0 users

See Also:


Attachments
file.diff (1002 bytes, patch)
2014-03-31 19:40 UTC, tkato432
no flags Details | Diff
audio_nekobee.diff (865 bytes, patch)
2014-04-17 18:51 UTC, tkato432
no flags Details | Diff
audio_nekobee.diff (1.51 KB, patch)
2014-05-19 18:56 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2014-03-31 19:40:00 UTC
- Fix build on -current
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-31 19:40:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 tkato432 2014-04-17 18:51:01 UTC
Remake of the patch against current tree.
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2014-05-18 05:46:29 UTC
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
Comment 4 tkato432 2014-05-19 18:56:11 UTC
Here is the corrected patch.
Comment 5 Martin Wilke freebsd_committer freebsd_triage 2014-05-21 06:40:12 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 6 dfilter service freebsd_committer freebsd_triage 2014-05-21 06:40:13 UTC
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"