diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-09-14 13:32:06 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-09-14 13:32:06 +0000 |
commit | 7c5bdc9e42725790d9930beeb578c30ebc8ce8a9 (patch) | |
tree | 9ea2ff2cc7182f0fa38f332ffb8c81d1929f4eeb /x11 | |
parent | a33bc26ff1a1f6aaf0830cba9032d189c98a2ee8 (diff) | |
download | FreeBSD-ports-7c5bdc9e42725790d9930beeb578c30ebc8ce8a9.zip FreeBSD-ports-7c5bdc9e42725790d9930beeb578c30ebc8ce8a9.tar.gz |
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 'x11')
-rw-r--r-- | x11/XFree86-4-libraries/Makefile | 4 | ||||
-rw-r--r-- | x11/XFree86/Makefile | 4 | ||||
-rw-r--r-- | x11/dgs/Makefile | 6 |
3 files changed, 12 insertions, 2 deletions
diff --git a/x11/XFree86-4-libraries/Makefile b/x11/XFree86-4-libraries/Makefile index 7ba9227..8fb1cdc 100644 --- a/x11/XFree86-4-libraries/Makefile +++ b/x11/XFree86-4-libraries/Makefile @@ -74,6 +74,10 @@ ForceNormalLib?= DEFAULT DebuggableLibraries?= DEFAULT # End of XFree86 User Config +.ifdef USE_XLIB +.error You have `USE_XLIB' variable defined either in environment or in make(1) arguments. Please undefine and try again. +.endif + .include <bsd.port.pre.mk> # BuildXF86DRI is false for FreeBSD < 4.1 diff --git a/x11/XFree86/Makefile b/x11/XFree86/Makefile index cbc499e..60c6cb5 100644 --- a/x11/XFree86/Makefile +++ b/x11/XFree86/Makefile @@ -44,6 +44,10 @@ PLIST= ${PKGDIR}/pkg-plist.pc98 PLIST= ${PKGDIR}/pkg-plist.alpha .endif +.ifdef USE_XLIB +.error You have `USE_XLIB' variable defined either in environment or in make(1) arguments. Please undefine and try again. +.endif + .if defined(XDM_DES) && (${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO) pre-fetch: @${ECHO} diff --git a/x11/dgs/Makefile b/x11/dgs/Makefile index 3811835..036afd4 100644 --- a/x11/dgs/Makefile +++ b/x11/dgs/Makefile @@ -28,10 +28,12 @@ GNU_CONFIGURE= yes MAN1= dgs.1 dpsnx.agent.1 MANN= dpsexec.man makepsres.man xepsf.man +.ifdef USE_DGS +.error You have `USE_DGS' variable defined either in environment or in make(1) arguments. Please undefine and try again. +.endif + pre-patch: @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ 's|manm|mann|g' - - .include <bsd.port.mk> |