diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-05 12:19:05 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-05 12:19:05 -0400 |
commit | b5b0f27090d5c0795c7a12610b820e804396d15d (patch) | |
tree | 1368792ac588057eabebfef2feea5f277bc726fd /system/cfengine | |
parent | 2ad053b8f505e797bb619833a85e691a2ba4253d (diff) | |
download | slackbuilds-b5b0f27090d5c0795c7a12610b820e804396d15d.tar.gz |
system/cfengine: Fix build when avahi installed.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/cfengine')
-rw-r--r-- | system/cfengine/README | 3 | ||||
-rw-r--r-- | system/cfengine/cfengine.SlackBuild | 9 |
2 files changed, 10 insertions, 2 deletions
diff --git a/system/cfengine/README b/system/cfengine/README index 0032937102..ceea160639 100644 --- a/system/cfengine/README +++ b/system/cfengine/README @@ -2,3 +2,6 @@ cfengine (Automate and manage your IT infrastructure) CFEngine is a configuration management and automation framework that lets you securely manage your mission critical IT infrastructure. + +Optional dependency: if avahi is installed, cfengine will be built +with support for it. diff --git a/system/cfengine/cfengine.SlackBuild b/system/cfengine/cfengine.SlackBuild index 796206dae8..18010359ff 100644 --- a/system/cfengine/cfengine.SlackBuild +++ b/system/cfengine/cfengine.SlackBuild @@ -22,6 +22,9 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220405 bkw: Modified by SlackBuilds.org, BUILD=2: +# - fix build when avahi is installed, and document avahi as optional. + # 20220211 bkw: Modified by SlackBuilds.org: update for v3.15.2 since # the previous version wouldn't build on Slackware 15.0. @@ -29,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cfengine VERSION=${VERSION:-3.15.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,6 +82,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +SLKCFLAGS+=" -fcommon" + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -93,7 +98,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-shared=yes \ --build=$ARCH-slackware-linux -make +make V=1 make install-strip DESTDIR=$PKG rm -f $PKG/usr/lib*/*.la |