diff options
author | Alberto Villa <avilla@FreeBSD.org> | 2011-10-16 22:51:26 +0000 |
---|---|---|
committer | Alberto Villa <avilla@FreeBSD.org> | 2011-10-16 22:51:26 +0000 |
commit | ccb1023f9c45d7eccfadba10cd532302c3faf36d (patch) | |
tree | f700af683817683c8419eb589cb1144ea035dd4d /devel/cmake | |
parent | - Update PyQt4 to 4.8.5. (diff) |
- Distinguish STRIP from WITH_DEBUG.
PR: 156543
Submitted by: Pan Tsu <inyaoo@gmail.com>
Notes
Notes:
svn path=/head/; revision=283626
Diffstat (limited to 'devel/cmake')
-rw-r--r-- | devel/cmake/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile index 1118b8d3792d..4044fb502a3d 100644 --- a/devel/cmake/Makefile +++ b/devel/cmake/Makefile @@ -16,14 +16,14 @@ COMMENT= A cross-platform Makefile generator HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} \ - --datadir=${DATADIR:S|^${PREFIX}||} \ - --docdir=${DOCSDIR:S|^${PREFIX}||} + --datadir="/${DATADIR_REL}" \ + --docdir="/${DOCSDIR_REL}" CONFIGURE_ENV= MAKE=make MAKE_JOBS_SAFE= yes -.if !defined(WITH_DEBUG) -INSTALL_TARGET=install/strip +.if defined(STRIP) && ${STRIP} != "" +INSTALL_TARGET= install/strip .endif MAN1= ccmake.1 \ |