pkgsrc/devel/distcc/Makefile.common
adam 96820105fc distcc: updated to 3.3
3.3 - Charlie the unicorn
* Use masquerade as compiler white-list.
* New --allow-private (the default) which allows non-global
* IP and IPv6 addresses.
* Cross-compilation support.
* Fix parsing of IPv6 addresses.
* Python 3, not python 2.
* Can build without python (and without pump mode or tests).
For those upgrading: you must run update-distcc-symlinks on every server machine, and add manually (see MASQUERADING of distcc(1)) those compilers it does not detect.
2018-07-11 07:30:40 +00:00

41 lines
1.1 KiB
Text

# $NetBSD: Makefile.common,v 1.13 2018/07/11 07:30:40 adam Exp $
# used by devel/distcc-pump/Makefile
# used by devel/distccmon-gnome/Makefile
# used by devel/distccmon-gtk/Makefile
DISTNAME= distcc-3.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=distcc/}
GITHUB_PROJECT= distcc
GITHUB_RELEASE= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/distcc/distcc
LICENSE= gnu-gpl-v2
DISTINFO_FILE= ${.CURDIR}/../../devel/distcc/distinfo
PATCHDIR= ${.CURDIR}/../../devel/distcc/patches
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-Werror
CONFIGURE_ARGS+= --enable-rfc2553
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --without-avahi
CONFIGURE_ARGS+= --without-libiberty
CHECK_PORTABILITY_SKIP+= contrib/redhat/*
SUBST_CLASSES+= doc
SUBST_STAGE.doc= pre-configure
SUBST_FILES.doc= src/distcc.c src/hosts.c
SUBST_SED.doc= -e "s|%s/distcc/hosts|%s/hosts|g"
SUBST_MESSAGE.doc= Fixing paths.
.if empty(PKGNAME:Mdistcc-[0-9]*)
DEPENDS+= distcc>=${PKGVERSION_NOREV}:../../devel/distcc
.endif
INSTALLATION_DIRS+= bin
.include "../../devel/popt/buildlink3.mk"