diff options
author | tnn <tnn@pkgsrc.org> | 2017-09-18 13:44:14 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2017-09-18 13:44:14 +0000 |
commit | da1546c9c65c00ca080a9f848218b39d6d3f7108 (patch) | |
tree | 4c5382b41782963b06096219f39810ba2709ed9a /net | |
parent | c417f9113061a51703bc8f03e386fcf9a0139867 (diff) | |
download | pkgsrc-da1546c9c65c00ca080a9f848218b39d6d3f7108.tar.gz |
synergy: don't run cmake twice
Diffstat (limited to 'net')
-rw-r--r-- | net/synergy/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net/synergy/Makefile b/net/synergy/Makefile index 0d6da6739c0..55600fcc780 100644 --- a/net/synergy/Makefile +++ b/net/synergy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2017/08/24 20:03:36 adam Exp $ +# $NetBSD: Makefile,v 1.45 2017/09/18 13:44:14 tnn Exp $ DISTNAME= synergy-1.8.8 PKGREVISION= 1 @@ -15,7 +15,8 @@ USE_LANGUAGES= c c++11 USE_TOOLS+= unzip # Main configuration is CMake, but subdirectories are GNU configure. # We need to set GNU_CONFIGURE=yes for config.{guess,sub} overrides to kick in. -# Fortunately for us, cmake seems to take precedence in infrastructure. +# We override the do-configure target to prevent pkgsrc from running both +# configuration mechanisms. USE_CMAKE= yes GNU_CONFIGURE= yes @@ -43,6 +44,9 @@ post-extract: ${MKDIR} ${WRKSRC}/ext/gtest-1.6.0 cd ${WRKSRC}/ext/gtest-1.6.0 && unzip -aqo ../gtest-1.6.0.zip +.PHONY: do-configure +do-configure: do-configure-cmake + INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/${PKGBASE} do-install: |