Bug 184072 - fix build: audio/xmms-timidity
Summary: fix build: audio/xmms-timidity
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-19 07:00 UTC by Timothy Beyer
Modified: 2013-12-01 13:00 UTC (History)
1 user (show)

See Also:


Attachments
xmms-timidity.diff (633 bytes, patch)
2013-11-19 07:00 UTC, Timothy Beyer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Beyer 2013-11-19 07:00:00 UTC
- change CFLAGS to CXXFLAGS, which should fix build

Fix: The included patch
How-To-Repeat: 
    Apply patch and build port
Comment 1 William Grzybowski freebsd_committer freebsd_triage 2013-12-01 12:57:03 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-12-01 12:57:08 UTC
Author: wg
Date: Sun Dec  1 12:57:00 2013
New Revision: 335381
URL: http://svnweb.freebsd.org/changeset/ports/335381

Log:
  audio/xmms-timidity: swtich from CFLAGS to CXXFLAGS
  
  - Swtich from CFLAGS to CXXFLAGS [1]
  - Use new format for lib depends
  
  PR:		ports/184072 [1]
  Submitted by:	maintainer

Modified:
  head/audio/xmms-timidity/Makefile

Modified: head/audio/xmms-timidity/Makefile
==============================================================================
--- head/audio/xmms-timidity/Makefile	Sun Dec  1 12:53:46 2013	(r335380)
+++ head/audio/xmms-timidity/Makefile	Sun Dec  1 12:57:00 2013	(r335381)
@@ -10,7 +10,7 @@ MASTER_SITES=	http://www.shikadi.net/uti
 MAINTAINER=	beyert@cs.ucr.edu
 COMMENT=	XMMS input plugin to play midi files (via timidity)
 
-LIB_DEPENDS=	xmms.4:${PORTSDIR}/multimedia/xmms
+LIB_DEPENDS=	libxmms.so:${PORTSDIR}/multimedia/xmms
 RUN_DEPENDS=	timidity:${PORTSDIR}/audio/timidity
 
 USE_LDCONFIG=	${PREFIX}/lib/xmms/Input
@@ -18,12 +18,12 @@ NO_STAGE=	yes
 
 USE_BZIP2=	yes
 USE_GNOME=	gtk12
-CFLAGS+=	-I${LOCALBASE}/include `glib-config --cflags` -g -fPIC
+CXXFLAGS+=	-I${LOCALBASE}/include `glib-config --cflags` -g -fPIC
 
 FILES=	xmms-timidity.cpp
 PLIST_FILES=	lib/xmms/Input/libxmms-timidity.so
 
 do-build:
-	(cd ${WRKSRC} && ${CXX} ${CFLAGS} -c ${FILES} -o xmms-timidity.o)
+	(cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -c ${FILES} -o xmms-timidity.o)
 
 .include <bsd.port.mk>
_______________________________________________
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"