ports/132891: [PATCH] audio/gx2osd: prepare for upcoming boost 1.37.0, minor fixes

Dmitry Marakasov amdmi3 at amdmi3.ru
Sat Mar 21 03:30:03 UTC 2009


>Number:         132891
>Category:       ports
>Synopsis:       [PATCH] audio/gx2osd: prepare for upcoming boost 1.37.0, minor fixes
>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:   Sat Mar 21 03:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Feb 10 23:56:47 MSK 2009
>Description:
Prepare for upcoming boost 1.37.0 (see http://wiki.freebsd.org/BoostPortingProject).

- Add -I${LOCALBASE}/include to CPPFLAGS, so boost headers can be found by waf
- Remove single header test from wscript, as it won't succeed without linking to boost_filesystem library

While here, minor fixes:
- Install manpages relative to PREFIX, not LOCALBASE
- Some whitespace/identation nits

Added file(s):
- files/patch-src-wscript

Port maintainer (alexbl at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- gx2osd-0.2_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/audio/gx2osd/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- Makefile	25 Jul 2008 09:07:25 -0000	1.7
+++ Makefile	21 Mar 2009 01:22:36 -0000
@@ -8,7 +8,7 @@
 PORTVERSION=	0.2
 PORTREVISION=	2
 CATEGORIES=	audio
-MASTER_SITES=	 http://eclipser.no-ip.org/
+MASTER_SITES=	http://eclipser.no-ip.org/
 
 MAINTAINER=	alexbl at FreeBSD.org
 COMMENT=	An OSD client for XMMS2
@@ -22,15 +22,15 @@
 USE_BZIP2=	yes
 USE_PYTHON_BUILD=	yes
 
-WRKSRC=	${WRKDIR}/${PORTNAME}
-MAKE_ENV+=	WAF_HOME=.
+WRKSRC=		${WRKDIR}/${PORTNAME}
+MAKE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" WAF_HOME=.
 
-MAN1=	gx2osd.1
+MAN1=		gx2osd.1
 
 .include <bsd.port.pre.mk>
 
 do-configure:
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf --conf-prefix=${LOCALBASE} --with-mandir=${LOCALBASE}/man --prefix=${PREFIX} configure
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf --conf-prefix=${LOCALBASE} --with-mandir=${PREFIX}/man --prefix=${PREFIX} configure
 
 do-build:
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf build
Index: files/patch-src-wscript
===================================================================
RCS file: files/patch-src-wscript
diff -N files/patch-src-wscript
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src-wscript	21 Mar 2009 03:20:06 -0000
@@ -0,0 +1,12 @@
+--- src/wscript.orig	2007-05-27 19:44:02.000000000 +0400
++++ src/wscript	2009-03-21 04:05:07.000000000 +0300
+@@ -34,9 +34,6 @@
+         libconf.name = 'boost_program_options-st'
+         libconf.run()
+ 
+-    e.name = 'boost/filesystem/path.hpp'
+-    e.run()
+-
+     libconf.mandatory = 0
+     libconf.uselib = 'filesystem'
+     libconf.name = 'boost_filesystem'
--- gx2osd-0.2_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list