summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-01 09:54:13 +0000
committerkrion <krion@FreeBSD.org>2004-04-01 09:54:13 +0000
commita6db2e6f24b47eb110f59f6ed61440c0ca272d47 (patch)
tree2eac5bbf9fddd4c877850f61ab67aa6b3b011aaf /multimedia
parent163c4a836d5c7393882487f47e829de99f2b9c00 (diff)
downloadFreeBSD-ports-a6db2e6f24b47eb110f59f6ed61440c0ca272d47.zip
FreeBSD-ports-a6db2e6f24b47eb110f59f6ed61440c0ca272d47.tar.gz
- Respect CXX and CXXFLAGS
PR: ports/65017 Submitted by: maintainer
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/y4mscaler/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/multimedia/y4mscaler/Makefile b/multimedia/y4mscaler/Makefile
index aa0eb18..1b92f82 100644
--- a/multimedia/y4mscaler/Makefile
+++ b/multimedia/y4mscaler/Makefile
@@ -25,16 +25,17 @@ WRKSRC= ${WRKDIR}/${PKGNAME}
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|' \
${WRKSRC}/y4m-config.h
OpenPOWER on IntegriCloud