ports/65017: [MAINTAINER] multimedia/y4mscaler: [respect CXX and CXXFLAGS]
michael johnson
ahze at ahze.net
Thu Apr 1 05:10:16 UTC 2004
>Number: 65017
>Category: ports
>Synopsis: [MAINTAINER] multimedia/y4mscaler: [respect CXX and CXXFLAGS]
>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: Wed Mar 31 21:10:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: michael johnson
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #37: Sat Mar 27 18:30:44 EST 2004
>Description:
- Respect CXX and CXXFLAGS
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- y4mscaler-0.6.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/y4mscaler/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile 26 Mar 2004 09:03:07 -0000 1.1
+++ Makefile 1 Apr 2004 05:05:19 -0000
@@ -25,15 +25,16 @@
PORTDOCS= COPYING ChangeLog INSTALL README TODO
MAN1= y4mscaler.1
PLIST_FILES= bin/y4mscaler
+MAKE_ENV= CXX="${CXX}"
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e 's|-march=i686 -mcpu=i686|${CFLAGS}|' \
- ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|COPT = -O2|#|' \
+ ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|CXXFLAGS =|CXXFLAGS = ${CXXFLAGS} |' \
${WRKSRC}/Makefile
.if ${OSVERSION} < 500000
@${REINPLACE_CMD} -e 's|#define HAVE_STDINT_H 1|#undef HAVE_STDINT_H 1|' \
--- y4mscaler-0.6.1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list