diff options
author | makc <makc@FreeBSD.org> | 2013-12-05 02:48:48 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2013-12-05 02:48:48 +0800 |
commit | 09f3131092c13ee3de5bcb00c8ad5d3dbd10c2ea (patch) | |
tree | 5061d096f918b500469fe8a4783a99b34e561de2 /lang | |
parent | fbb80f7bf3ced094924d4ffd7fb6177a8e633591 (diff) | |
download | freebsd-ports-gnome-09f3131092c13ee3de5bcb00c8ad5d3dbd10c2ea.tar.gz freebsd-ports-gnome-09f3131092c13ee3de5bcb00c8ad5d3dbd10c2ea.tar.zst freebsd-ports-gnome-09f3131092c13ee3de5bcb00c8ad5d3dbd10c2ea.zip |
- Respect CMAKE_BUILD_TYPE
Approved by: portmgr (bapt)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/hiphop-php/Makefile | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/lang/hiphop-php/Makefile b/lang/hiphop-php/Makefile index 40e226a5a708..38af9389b687 100644 --- a/lang/hiphop-php/Makefile +++ b/lang/hiphop-php/Makefile @@ -46,8 +46,7 @@ LIB_DEPENDS= icudata:${PORTSDIR}/devel/icu \ unwind:${PORTSDIR}/devel/libunwind \ glog:${PORTSDIR}/devel/glog -OPTIONS_DEFINE= DEBUG DOCS -OPTIONS_DEFAULT= DOCS +OPTIONS_DEFINE= DOCS ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= This program is developed for amd64 only @@ -64,7 +63,6 @@ BUILD_DEPENDS+= bison:${PORTSDIR}/devel/bison \ WRKSRC= ${WRKDIR}/hiphop-php-HPHP-${PORTVERSION} -GNU_CONFIGURE= yes USES= cmake gettext USE_MYSQL= yes USE_GNOME= libxml2 @@ -103,13 +101,6 @@ PORTDOCS= * NO_STAGE= yes .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MDEBUG} -CMAKE_BUILD_TYPE= Debug -CONFIGURE_ARGS+= -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -.endif - -.include <bsd.port.pre.mk> - _CFLAGS= ${CFLAGS} -DHAVE_POSIX_FALLOCATE=1 _CXXFLAGS= ${CXXFLAGS} -D_GLIBCXX_USE_C99 -DHAVE_POSIX_FALLOCATE=1 @@ -153,4 +144,4 @@ do-install: ${CP} -rf ${WRKSRC}/hphp/doc/ ${DOCSDIR}/ .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |