diff options
author | krion <krion@FreeBSD.org> | 2004-04-01 09:54:13 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-04-01 09:54:13 +0000 |
commit | a6db2e6f24b47eb110f59f6ed61440c0ca272d47 (patch) | |
tree | 2eac5bbf9fddd4c877850f61ab67aa6b3b011aaf /multimedia | |
parent | 163c4a836d5c7393882487f47e829de99f2b9c00 (diff) | |
download | FreeBSD-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/Makefile | 5 |
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 |