1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Allow an alternative install prefix to be specified with

CMAKE_INSTALL_PREFIX.  This is similar to GNU_CONFIGURE_PREFIX and is
useful for ports that would conflict if installed directly in PREFIX.
This commit is contained in:
Brooks Davis 2014-04-11 21:45:55 +00:00
parent df6e936225
commit ad2f70940d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351051

View File

@ -83,11 +83,13 @@ CMAKE_ARGS+= -DCMAKE_C_COMPILER:STRING="${CC}" \
-DCMAKE_EXE_LINKER_FLAGS:STRING="${LDFLAGS}" \
-DCMAKE_MODULE_LINKER_FLAGS:STRING="${LDFLAGS}" \
-DCMAKE_SHARED_LINKER_FLAGS:STRING="${LDFLAGS}" \
-DCMAKE_INSTALL_PREFIX:PATH="${PREFIX}" \
-DCMAKE_INSTALL_PREFIX:PATH="${CMAKE_INSTALL_PREFIX}" \
-DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \
-DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES \
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=YES
CMAKE_INSTALL_PREFIX?= ${PREFIX}
.if defined(BATCH) || defined(PACKAGE_BUILDING)
CMAKE_VERBOSE= yes
CMAKE_NOCOLOR= yes