ports/184072: fix build: audio/xmms-timidity
Timothy Beyer
beyert at cs.ucr.edu
Tue Nov 19 07:00:01 UTC 2013
>Number: 184072
>Category: ports
>Synopsis: fix build: audio/xmms-timidity
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 19 07:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Timothy Beyer
>Release: FreeBSD 9.2-RELEASE amd64
>Organization:
no organization
>Environment:
System: FreeBSD hypercube.aeonnet 9.2-RELEASE FreeBSD 9.2-RELEASE #0: Tue Oct 1 00:41:23 PDT 2013 root at hypercube.aeonnet:/usr/obj/usr/src/sys/CUSTOM-9.2 amd64
>Description:
- change CFLAGS to CXXFLAGS, which should fix build
>How-To-Repeat:
Apply patch and build port
>Fix:
The included patch
--- xmms-timidity.diff begins here ---
diff -urN xmms-timidity.orig/Makefile xmms-timidity/Makefile
--- xmms-timidity.orig/Makefile 2013-09-20 07:36:35.000000000 -0700
+++ xmms-timidity/Makefile 2013-11-18 22:51:16.000000000 -0800
@@ -18,12 +18,12 @@
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>
--- xmms-timidity.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list