aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cmake
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2011-10-17 06:51:26 +0800
committeravilla <avilla@FreeBSD.org>2011-10-17 06:51:26 +0800
commit00c60ffc2dd87408bec24d7bbd4e05143c328c46 (patch)
treebab66b0dddf9719fc4f6a087ba7649a33a2205d4 /devel/cmake
parentfa29d793d5cf2e36ccf895366d0e19bf71602b78 (diff)
downloadfreebsd-ports-gnome-00c60ffc2dd87408bec24d7bbd4e05143c328c46.tar.gz
freebsd-ports-gnome-00c60ffc2dd87408bec24d7bbd4e05143c328c46.tar.zst
freebsd-ports-gnome-00c60ffc2dd87408bec24d7bbd4e05143c328c46.zip
- Distinguish STRIP from WITH_DEBUG.
PR: 156543 Submitted by: Pan Tsu <inyaoo@gmail.com>
Diffstat (limited to 'devel/cmake')
-rw-r--r--devel/cmake/Makefile8
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 \