2014-04-25 18:13:31 +02:00
|
|
|
# $NetBSD: Makefile.common,v 1.11 2014/04/25 16:13:31 adam Exp $
|
2009-06-13 08:46:41 +02:00
|
|
|
# used by devel/distcc-pump/Makefile
|
|
|
|
# used by devel/distccmon-gnome/Makefile
|
|
|
|
# used by devel/distccmon-gtk/Makefile
|
2005-10-10 14:15:47 +02:00
|
|
|
|
2014-04-25 18:13:31 +02:00
|
|
|
# XXX: in the future, remove rc1 substitutions from Makefiles mentioned above
|
|
|
|
DISTNAME= distcc-3.2rc1
|
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://distcc.googlecode.com/files/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2005-10-10 14:15:47 +02:00
|
|
|
|
2014-04-25 18:13:31 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://distcc.org/
|
|
|
|
LICENSE= gnu-gpl-v2
|
2005-10-10 14:15:47 +02:00
|
|
|
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../devel/distcc/distinfo
|
|
|
|
PATCHDIR= ${.CURDIR}/../../devel/distcc/patches
|
|
|
|
|
Changes 3.1:
* New options: --scan-includes, --disable-Werror
* Document all of the exit codes in the man page.
* Handle "-Wp,-MMD,...".
* Report a better error message if a host specification contains ",cpp"
but not ",lzo".
* Fix a bug where the "m4" directory wasn't included in the
source distribution tarball, which caused it to stop working
if you ran autogen.sh.
* Fixed a bug where the pump script was hard-coding /etc/distcc/hosts
rather than using the prefix specified to configure.
* Fixed build errors on Gentoo Linux and some other systems.
Changes 3.0:
* New "--without-avahi" option to configure.
* Fixed a problem where pump mode was falling back to local compilation
when compiling with -I options that refer to a subdirectory of one
of the default system include directories (Nils Klarlund, Fergus Henderson).
* Allow distcc to distribute commands that use "-MF<filename>"
rather than "-MF <filename>", and likewise for "-MT<target>".
* Fixed a build problem on ARM and Solaris systems.
* Fixed a build problem on some Linux systems.
* Fixed failure of "make install" on Cygwin.
* Fallback to local compilation for "-march=native" or "mtune=native"
* Fix for deadlock in pump mode.
* New protocol, version 3, allowing for preprocessing on distcc
servers ("pump" mode).
* New component: an include server for incremental static analysis of include
dependencies. This software is written in Python 2.4.
* Support for getting hosts via avahi.
* gcc debug option -d must be run locally because it produces secondary files.
* Improved checking for errors on socket connection.
2009-01-17 14:27:48 +01:00
|
|
|
USE_TOOLS+= gmake
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --disable-Werror
|
2005-10-10 14:15:47 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-rfc2553
|
Changes 3.1:
* New options: --scan-includes, --disable-Werror
* Document all of the exit codes in the man page.
* Handle "-Wp,-MMD,...".
* Report a better error message if a host specification contains ",cpp"
but not ",lzo".
* Fix a bug where the "m4" directory wasn't included in the
source distribution tarball, which caused it to stop working
if you ran autogen.sh.
* Fixed a bug where the pump script was hard-coding /etc/distcc/hosts
rather than using the prefix specified to configure.
* Fixed build errors on Gentoo Linux and some other systems.
Changes 3.0:
* New "--without-avahi" option to configure.
* Fixed a problem where pump mode was falling back to local compilation
when compiling with -I options that refer to a subdirectory of one
of the default system include directories (Nils Klarlund, Fergus Henderson).
* Allow distcc to distribute commands that use "-MF<filename>"
rather than "-MF <filename>", and likewise for "-MT<target>".
* Fixed a build problem on ARM and Solaris systems.
* Fixed a build problem on some Linux systems.
* Fixed failure of "make install" on Cygwin.
* Fallback to local compilation for "-march=native" or "mtune=native"
* Fix for deadlock in pump mode.
* New protocol, version 3, allowing for preprocessing on distcc
servers ("pump" mode).
* New component: an include server for incremental static analysis of include
dependencies. This software is written in Python 2.4.
* Support for getting hosts via avahi.
* gcc debug option -d must be run locally because it produces secondary files.
* Improved checking for errors on socket connection.
2009-01-17 14:27:48 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
|
|
#CONFIGURE_ENV+= ac_cv_path_PYTHON=/dev/null
|
|
|
|
|
|
|
|
CHECK_PORTABILITY_SKIP+= contrib/redhat/*
|
2005-10-10 14:15:47 +02:00
|
|
|
|
|
|
|
SUBST_CLASSES+= doc
|
|
|
|
SUBST_STAGE.doc= post-patch
|
|
|
|
SUBST_FILES.doc= src/distcc.c src/hosts.c
|
|
|
|
SUBST_SED.doc= -e "s|%s/distcc/hosts|%s/hosts|g"
|
2006-02-17 08:30:13 +01:00
|
|
|
SUBST_MESSAGE.doc= Fixing paths.
|
2005-10-10 14:15:47 +02:00
|
|
|
|
|
|
|
.if empty(PKGNAME:Mdistcc-[0-9]*)
|
2014-04-25 18:13:31 +02:00
|
|
|
DEPENDS+= distcc>=${PKGVERSION_NOREV}:../../devel/distcc
|
2005-10-10 14:15:47 +02:00
|
|
|
.endif
|
|
|
|
|
2008-04-07 18:53:38 +02:00
|
|
|
INSTALLATION_DIRS+= bin
|
|
|
|
|
2005-10-10 14:15:47 +02:00
|
|
|
.include "../../devel/popt/buildlink3.mk"
|