diff options
author | max <max@FreeBSD.org> | 1997-01-20 10:30:08 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-01-20 10:30:08 +0800 |
commit | e5a0dd4f0b60ddd4f75c7d064f19ef9646aa0a3a (patch) | |
tree | e80e7d01999f0cd6ecd3462561a12a1ccbfdf08a /mail | |
parent | de8ad2afd14fd6a0335cd52d168b978d29fb864f (diff) | |
download | freebsd-ports-gnome-e5a0dd4f0b60ddd4f75c7d064f19ef9646aa0a3a.tar.gz freebsd-ports-gnome-e5a0dd4f0b60ddd4f75c7d064f19ef9646aa0a3a.tar.zst freebsd-ports-gnome-e5a0dd4f0b60ddd4f75c7d064f19ef9646aa0a3a.zip |
Added pre-extract target to check and cause error if it's not 022.
This is because the build procedure doesn't go quite well if it's other than
022.
Rported by: "Barry Friedman" <friedman@nortel.ca>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mailagent/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/mailagent/Makefile b/mail/mailagent/Makefile index b552373343a6..9369b3964432 100644 --- a/mail/mailagent/Makefile +++ b/mail/mailagent/Makefile @@ -3,7 +3,7 @@ # Date created: 23 Sep 1996 # Whom: Masafumi NAKANE <max@FreeBSD.ORG> # -# $Id: Makefile,v 1.5 1996/12/08 01:44:51 max Exp $ +# $Id: Makefile,v 1.6 1997/01/16 09:53:21 max Exp $ # DISTNAME= mailagent-3.0pl53 @@ -20,9 +20,8 @@ MAINTAINER= max@FreeBSD.ORG RUN_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5 BUILD_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5 -WRKSRC= ${WRKDIR}/mailagent-3.0 - NO_PACKAGE= "Correct FQDN needs to be hardcoded" +WRKSRC= ${WRKDIR}/mailagent-3.0 IS_INTERACTIVE= yes HAS_CONFIGURE= yes CONFIGURE_SCRIPT= Configure @@ -40,4 +39,10 @@ MAN1= edusers.1 mailagent.1 maildist.1 \ # from several other man pages with .so macro. PERLPATH!= dirname `which perl5.003` +pre-extract: + @if [ `/bin/sh -c umask` != 022 ]; then \ + echo "Please set umask to 022 before running make,"; \ + echo "or mailagent will not build successfully."; \ + false; fi + .include <bsd.port.mk> |