mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Respect CXX and CXXFLAGS
PR: ports/65017 Submitted by: maintainer
This commit is contained in:
parent
68d520a97e
commit
d4214dde4d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105856
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user