summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-09-14 13:32:06 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-09-14 13:32:06 +0000
commit4fe6852b8fc27fae11fdc1a2e6a04519dff79d2d (patch)
tree3c0e8bfe673a5c1e30efc1a8f7c2fa62a73243fc /devel
parent- Drop bash from RUN_DEPENDS, which is ugly and also conflicts with some of (diff)
Due to popular demant into each port which might be inserted into dependency
list by bsd.port.mk insert anti foot-shooting device, which prevents infinite fork loop when the user defines corresponding USE_XXX in global make.conf, command line or environment. Similar devices should probably be inserted into ports that might be inserted into dependency list by others bsd.foo.mk files (bsd.ruby.mk, bsd.python.mk and so on.)
Diffstat (limited to 'devel')
-rw-r--r--devel/autoconf213/Makefile4
-rw-r--r--devel/automake/Makefile4
-rw-r--r--devel/automake110/Makefile4
-rw-r--r--devel/automake14/Makefile4
-rw-r--r--devel/automake15/Makefile4
-rw-r--r--devel/automake16/Makefile4
-rw-r--r--devel/automake17/Makefile4
-rw-r--r--devel/automake18/Makefile4
-rw-r--r--devel/automake19/Makefile4
-rw-r--r--devel/bison-devel/Makefile4
-rw-r--r--devel/bison/Makefile4
-rw-r--r--devel/bison175/Makefile4
-rw-r--r--devel/bison1875/Makefile4
-rw-r--r--devel/bison2/Makefile4
-rw-r--r--devel/bison20/Makefile4
-rw-r--r--devel/gmake/Makefile4
-rw-r--r--devel/gmake381/Makefile4
-rw-r--r--devel/gnu-automake/Makefile4
-rw-r--r--devel/gnu-libtool/Makefile4
-rw-r--r--devel/imake-4/Makefile4
-rw-r--r--devel/imake/Makefile4
-rw-r--r--devel/libtool/Makefile4
-rw-r--r--devel/libtool13/Makefile4
-rw-r--r--devel/libtool14/Makefile4
-rw-r--r--devel/libtool15/Makefile4
25 files changed, 100 insertions, 0 deletions
diff --git a/devel/autoconf213/Makefile b/devel/autoconf213/Makefile
index 600cafb0e211..051ace52e0e9 100644
--- a/devel/autoconf213/Makefile
+++ b/devel/autoconf213/Makefile
@@ -28,6 +28,10 @@ CONFIGURE_ENV= M4=${LOCALBASE}/bin/gm4
CONFIGURE_ARGS= --program-suffix=213 --datadir=${PREFIX}/share/autoconf213
WRKSRC= ${WRKDIR}/autoconf
+.if defined(USE_AUTOCONF) || defined(USE_AUTOCONF_VER)
+.error You have `USE_AUTOCONF' or `USE_AUTOCONF_VER' variables defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
post-patch:
@-${RM} ${WRKSRC}/*.info*
diff --git a/devel/automake/Makefile b/devel/automake/Makefile
index 6bdf74a777bd..a63c7ea3d63d 100644
--- a/devel/automake/Makefile
+++ b/devel/automake/Makefile
@@ -21,6 +21,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
STRIP= # none
+.if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
+.error You have `USE_AUTOMAKE' or `USE_AUTOMAKE_VER' variables defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
pre-configure:
${PERL} -pi -e "s^%%X11BASE%%^${X11BASE}^" ${WRKSRC}/aclocal.in
diff --git a/devel/automake110/Makefile b/devel/automake110/Makefile
index 6bdf74a777bd..a63c7ea3d63d 100644
--- a/devel/automake110/Makefile
+++ b/devel/automake110/Makefile
@@ -21,6 +21,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
STRIP= # none
+.if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
+.error You have `USE_AUTOMAKE' or `USE_AUTOMAKE_VER' variables defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
pre-configure:
${PERL} -pi -e "s^%%X11BASE%%^${X11BASE}^" ${WRKSRC}/aclocal.in
diff --git a/devel/automake14/Makefile b/devel/automake14/Makefile
index e447b7379256..3333ebc8f75f 100644
--- a/devel/automake14/Makefile
+++ b/devel/automake14/Makefile
@@ -23,6 +23,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
STRIP= # none
+.if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
+.error You have `USE_AUTOMAKE' or `USE_AUTOMAKE_VER' variables defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
post-patch:
@-${RM} ${WRKSRC}/*.info* ${WRKSRC}/*.dvi
${MV} ${WRKSRC}/automake.texi ${WRKSRC}/automake14.texi
diff --git a/devel/automake15/Makefile b/devel/automake15/Makefile
index 6bdf74a777bd..a63c7ea3d63d 100644
--- a/devel/automake15/Makefile
+++ b/devel/automake15/Makefile
@@ -21,6 +21,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
STRIP= # none
+.if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
+.error You have `USE_AUTOMAKE' or `USE_AUTOMAKE_VER' variables defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
pre-configure:
${PERL} -pi -e "s^%%X11BASE%%^${X11BASE}^" ${WRKSRC}/aclocal.in
diff --git a/devel/automake16/Makefile b/devel/automake16/Makefile
index 6bdf74a777bd..a63c7ea3d63d 100644
--- a/devel/automake16/Makefile
+++ b/devel/automake16/Makefile
@@ -21,6 +21,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
STRIP= # none
+.if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
+.error You have `USE_AUTOMAKE' or `USE_AUTOMAKE_VER' variables defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
pre-configure:
${PERL} -pi -e "s^%%X11BASE%%^${X11BASE}^" ${WRKSRC}/aclocal.in
diff --git a/devel/automake17/Makefile b/devel/automake17/Makefile
index 6bdf74a777bd..a63c7ea3d63d 100644
--- a/devel/automake17/Makefile
+++ b/devel/automake17/Makefile
@@ -21,6 +21,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
STRIP= # none
+.if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
+.error You have `USE_AUTOMAKE' or `USE_AUTOMAKE_VER' variables defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
pre-configure:
${PERL} -pi -e "s^%%X11BASE%%^${X11BASE}^" ${WRKSRC}/aclocal.in
diff --git a/devel/automake18/Makefile b/devel/automake18/Makefile
index 6bdf74a777bd..a63c7ea3d63d 100644
--- a/devel/automake18/Makefile
+++ b/devel/automake18/Makefile
@@ -21,6 +21,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
STRIP= # none
+.if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
+.error You have `USE_AUTOMAKE' or `USE_AUTOMAKE_VER' variables defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
pre-configure:
${PERL} -pi -e "s^%%X11BASE%%^${X11BASE}^" ${WRKSRC}/aclocal.in
diff --git a/devel/automake19/Makefile b/devel/automake19/Makefile
index 6bdf74a777bd..a63c7ea3d63d 100644
--- a/devel/automake19/Makefile
+++ b/devel/automake19/Makefile
@@ -21,6 +21,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
STRIP= # none
+.if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
+.error You have `USE_AUTOMAKE' or `USE_AUTOMAKE_VER' variables defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
pre-configure:
${PERL} -pi -e "s^%%X11BASE%%^${X11BASE}^" ${WRKSRC}/aclocal.in
diff --git a/devel/bison-devel/Makefile b/devel/bison-devel/Makefile
index f9c118fa8644..ed700d39c92e 100644
--- a/devel/bison-devel/Makefile
+++ b/devel/bison-devel/Makefile
@@ -27,6 +27,10 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= bison.1
+.ifdef USE_BISON
+.error You have `USE_BISON' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
post-extract:
@${RM} -f ${WRKSRC}/doc/bison.info*
diff --git a/devel/bison/Makefile b/devel/bison/Makefile
index f9c118fa8644..ed700d39c92e 100644
--- a/devel/bison/Makefile
+++ b/devel/bison/Makefile
@@ -27,6 +27,10 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= bison.1
+.ifdef USE_BISON
+.error You have `USE_BISON' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
post-extract:
@${RM} -f ${WRKSRC}/doc/bison.info*
diff --git a/devel/bison175/Makefile b/devel/bison175/Makefile
index f9c118fa8644..ed700d39c92e 100644
--- a/devel/bison175/Makefile
+++ b/devel/bison175/Makefile
@@ -27,6 +27,10 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= bison.1
+.ifdef USE_BISON
+.error You have `USE_BISON' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
post-extract:
@${RM} -f ${WRKSRC}/doc/bison.info*
diff --git a/devel/bison1875/Makefile b/devel/bison1875/Makefile
index f9c118fa8644..ed700d39c92e 100644
--- a/devel/bison1875/Makefile
+++ b/devel/bison1875/Makefile
@@ -27,6 +27,10 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= bison.1
+.ifdef USE_BISON
+.error You have `USE_BISON' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
post-extract:
@${RM} -f ${WRKSRC}/doc/bison.info*
diff --git a/devel/bison2/Makefile b/devel/bison2/Makefile
index f9c118fa8644..ed700d39c92e 100644
--- a/devel/bison2/Makefile
+++ b/devel/bison2/Makefile
@@ -27,6 +27,10 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= bison.1
+.ifdef USE_BISON
+.error You have `USE_BISON' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
post-extract:
@${RM} -f ${WRKSRC}/doc/bison.info*
diff --git a/devel/bison20/Makefile b/devel/bison20/Makefile
index f9c118fa8644..ed700d39c92e 100644
--- a/devel/bison20/Makefile
+++ b/devel/bison20/Makefile
@@ -27,6 +27,10 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= bison.1
+.ifdef USE_BISON
+.error You have `USE_BISON' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
post-extract:
@${RM} -f ${WRKSRC}/doc/bison.info*
diff --git a/devel/gmake/Makefile b/devel/gmake/Makefile
index 5c90eb5e6ab1..ce8d5b070e51 100644
--- a/devel/gmake/Makefile
+++ b/devel/gmake/Makefile
@@ -23,6 +23,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DHAVE_LOCALE_H -DHAVE_LC_MESSAG
MAN1= gmake.1
+.ifdef USE_GMAKE
+.error You have `USE_GMAKE' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
# joerg@freebsd.org says our getloadavg() no longer requires setgid kmem
post-install:
diff --git a/devel/gmake381/Makefile b/devel/gmake381/Makefile
index 5c90eb5e6ab1..ce8d5b070e51 100644
--- a/devel/gmake381/Makefile
+++ b/devel/gmake381/Makefile
@@ -23,6 +23,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DHAVE_LOCALE_H -DHAVE_LC_MESSAG
MAN1= gmake.1
+.ifdef USE_GMAKE
+.error You have `USE_GMAKE' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
# joerg@freebsd.org says our getloadavg() no longer requires setgid kmem
post-install:
diff --git a/devel/gnu-automake/Makefile b/devel/gnu-automake/Makefile
index 6bdf74a777bd..a63c7ea3d63d 100644
--- a/devel/gnu-automake/Makefile
+++ b/devel/gnu-automake/Makefile
@@ -21,6 +21,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
STRIP= # none
+.if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
+.error You have `USE_AUTOMAKE' or `USE_AUTOMAKE_VER' variables defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
pre-configure:
${PERL} -pi -e "s^%%X11BASE%%^${X11BASE}^" ${WRKSRC}/aclocal.in
diff --git a/devel/gnu-libtool/Makefile b/devel/gnu-libtool/Makefile
index 1a27412f5338..a2ee543ab5ee 100644
--- a/devel/gnu-libtool/Makefile
+++ b/devel/gnu-libtool/Makefile
@@ -22,4 +22,8 @@ INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PREFIX=${PREFIX}
+.ifdef USE_LIBTOOL
+.error You have `USE_LIBTOOL' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/imake-4/Makefile b/devel/imake-4/Makefile
index ff68bc6c4182..3c650db988cb 100644
--- a/devel/imake-4/Makefile
+++ b/devel/imake-4/Makefile
@@ -22,6 +22,10 @@ MAINTAINER= anholt@freebsd.org
PREFIX?= ${X11BASE}
USE_PERL5= YES
+.ifdef USE_IMAKE
+.error You have `USE_IMAKE' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
diff --git a/devel/imake/Makefile b/devel/imake/Makefile
index 71f86452ab44..beb091ee45a9 100644
--- a/devel/imake/Makefile
+++ b/devel/imake/Makefile
@@ -35,6 +35,10 @@ MANCOMPRESSED= yes
INSTALL_TARGET= install install.man
MTREE_FILE= /etc/mtree/BSD.x11.dist
+.ifdef USE_IMAKE
+.error You have `USE_IMAKE' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
do-configure:
@${ECHO_CMD} > ${WRKSRC}/cf/host.def
@(cd ${WRKDIR}/xc; \
diff --git a/devel/libtool/Makefile b/devel/libtool/Makefile
index 1a27412f5338..a2ee543ab5ee 100644
--- a/devel/libtool/Makefile
+++ b/devel/libtool/Makefile
@@ -22,4 +22,8 @@ INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PREFIX=${PREFIX}
+.ifdef USE_LIBTOOL
+.error You have `USE_LIBTOOL' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/libtool13/Makefile b/devel/libtool13/Makefile
index 1a27412f5338..a2ee543ab5ee 100644
--- a/devel/libtool13/Makefile
+++ b/devel/libtool13/Makefile
@@ -22,4 +22,8 @@ INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PREFIX=${PREFIX}
+.ifdef USE_LIBTOOL
+.error You have `USE_LIBTOOL' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/libtool14/Makefile b/devel/libtool14/Makefile
index 1a27412f5338..a2ee543ab5ee 100644
--- a/devel/libtool14/Makefile
+++ b/devel/libtool14/Makefile
@@ -22,4 +22,8 @@ INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PREFIX=${PREFIX}
+.ifdef USE_LIBTOOL
+.error You have `USE_LIBTOOL' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/libtool15/Makefile b/devel/libtool15/Makefile
index 1a27412f5338..a2ee543ab5ee 100644
--- a/devel/libtool15/Makefile
+++ b/devel/libtool15/Makefile
@@ -22,4 +22,8 @@ INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PREFIX=${PREFIX}
+.ifdef USE_LIBTOOL
+.error You have `USE_LIBTOOL' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
.include <bsd.port.mk>