- Switch to USES=localbase

- Silence patching
- Update WWW
This commit is contained in:
Dmitry Marakasov 2018-09-26 09:38:31 +00:00
parent 6483db6acf
commit 99fb532082
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480725
2 changed files with 6 additions and 7 deletions

View file

@ -18,27 +18,26 @@ BROKEN_sparc64= build broken on big endian architectures
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME} BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
USES= gmake iconv tar:bzip2 USES= gmake iconv localbase tar:bzip2
HAS_CONFIGURE= yes HAS_CONFIGURE= yes
MAKE_ENV= V=1 MAKE_ENV= V=1
MAKEFILE= GNUmakefile MAKEFILE= GNUmakefile
CFLAGS+= -I${ICONV_PREFIX}/include LIBS+= ${ICONV_LIB}
LIBS+= -L${ICONV_PREFIX}/lib ${ICONV_LIB}
PLIST_FILES= bin/mkvalidator bin/mkvtree PLIST_FILES= bin/mkvalidator bin/mkvtree
MAKE_JOBS_UNSAFE= yes MAKE_JOBS_UNSAFE= yes
post-patch: post-patch:
${REINPLACE_CMD} -e \ @${REINPLACE_CMD} -e \
'/STRIP/s|strip|${STRIP_CMD:T}| ; \ '/STRIP/s|strip|${STRIP_CMD:T}| ; \
/CCFLAGS/s|-O3 .* -W|-W|' \ /CCFLAGS/s|-O3 .* -W|-W|' \
${WRKSRC}/corec/tools/coremake/gcc_linux*.build ${WRKSRC}/corec/tools/coremake/gcc_linux*.build
${REINPLACE_CMD} -e \ @${REINPLACE_CMD} -e \
's|/usr/local|$$(DESTDIR)$$(PREFIX)|g' \ 's|/usr/local|$$(DESTDIR)$$(PREFIX)|g' \
${WRKSRC}/corec/tools/coremake/gcc_mak.inc ${WRKSRC}/corec/tools/coremake/gcc_mak.inc
${REINPLACE_CMD} -e \ @${REINPLACE_CMD} -e \
's|arm-none-linux-gnueabi-gcc|${CC}| ; \ 's|arm-none-linux-gnueabi-gcc|${CC}| ; \
s|arm-none-linux-gnueabi-g++|${CXX}| ; \ s|arm-none-linux-gnueabi-g++|${CXX}| ; \
s|arm-none-linux-gnueabi-ar|${AR}| ; \ s|arm-none-linux-gnueabi-ar|${AR}| ; \

View file

@ -3,4 +3,4 @@ files for spec conformance. It checks the various bogus or missing key
elements against the EBML DocType version of the file and reports the elements against the EBML DocType version of the file and reports the
errors/warnings in the command line. errors/warnings in the command line.
WWW: http://www.matroska.org/downloads/mkvalidator.html WWW: https://www.matroska.org/downloads/mkvalidator.html