diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-04-07 16:03:05 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-04-07 16:03:05 +0000 |
commit | 810b01f469cd02d452e54501a00e7ff573d624d1 (patch) | |
tree | d335ea9bf35eafcffb20e579e7036b1af58e5fc3 /lang/tcc | |
parent | 8fb97109a50fa9ceccc51a1098ce3057cb944144 (diff) |
- Remove always true OSVERSION condition
- While here, minor consmetic fixes
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=437935
Diffstat (limited to 'lang/tcc')
-rw-r--r-- | lang/tcc/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lang/tcc/Makefile b/lang/tcc/Makefile index 3e2a7d869687..b29d6c0fcdf0 100644 --- a/lang/tcc/Makefile +++ b/lang/tcc/Makefile @@ -34,10 +34,10 @@ PORTDOCS= Changelog README TODO VERSION .include <bsd.port.options.mk> .if ${ARCH} == "amd64" -CONFIGURE_ARGS+= --cpu=x86-64 --extra-cflags="-DTCC_TARGET_X86_64 -DONE_SOURCE" +CONFIGURE_ARGS+=--cpu=x86-64 --extra-cflags="-DTCC_TARGET_X86_64 -DONE_SOURCE" MAKE_ARGS+= ARCH=x86-64 CPUTYPE= x86_64 -FILES= bcheck.o alloca86_64.o libtcc1.o +FILES= bcheck.o alloca86_64.o libtcc1.o PLIST_SUB+= AMD64="" .else @@ -46,16 +46,14 @@ PLIST_SUB+= AMD64="@comment " .if ${ARCH} == "i386" CPUTYPE= i386 -FILES= bcheck.o alloca86.o alloca86-bt.o +FILES= bcheck.o alloca86.o alloca86-bt.o PLIST_SUB+= I386="" .else PLIST_SUB+= I386="@comment " .endif -.if ${CC:T:M*clang*} || ${OSVERSION} >= 1000024 CFLAGS+= -fheinous-gnu-extensions -.endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tcc @@ -68,11 +66,11 @@ post-install: .endfor post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> |