Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2002 11:43:23 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/44348: Update port: graphics/multivideo
Message-ID:  <200210211843.g9LIhNEs004823@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         44348
>Category:       ports
>Synopsis:       Update port: graphics/multivideo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 21 11:50:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.7-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CXX/CXXFLAGS properly

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/multivideo/Makefile graphics/multivideo/Makefile
--- /usr/ports/graphics/multivideo/Makefile	Sat Oct 19 20:09:27 2002
+++ graphics/multivideo/Makefile	Tue Oct 22 02:40:24 2002
@@ -8,18 +8,28 @@
 
 PORTNAME=	multivideo
 PORTVERSION=	0.1.0
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.lis.inpg.fr/scientifique/bonnaud/multivideo/download/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	wx_gtk-2.2:${PORTSDIR}/x11-toolkits/wxgtk
+LIB_DEPENDS=	wx_gtk-2.2.2:${PORTSDIR}/x11-toolkits/wxgtk
 
-USE_BZIP2=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}
+
+USE_BZIP2=	yes
+USE_REINPLACE=	yes
 USE_GMAKE=	yes
-ALL_TARGET=	# empty
+MAKE_ENV=	CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
+ALL_TARGET=	default
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|g++|\$$\(CXX)|g ; \
+		 s|-O2 -g -Wall -W|\$$\(CXXFLAGS\)|g ; \
+		 s|[(]CC[)]|\(CXX\)|g ; \
+		 s|gcc|\$$\(CXX\)|g' ${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/multivideo ${PREFIX}/bin

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210211843.g9LIhNEs004823>