fake; update patch to not be interactive

This commit is contained in:
todd 2000-03-10 03:58:21 +00:00
parent 42d95eeebb
commit 7b2858ee66
2 changed files with 11 additions and 27 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.12 2000/02/15 05:04:42 turan Exp $ # $OpenBSD: Makefile,v 1.13 2000/03/10 03:58:21 todd Exp $
# Original from: Ejovi Nuwere <ejovi@ejovi.net> # Original from: Ejovi Nuwere <ejovi@ejovi.net>
DISTNAME= procmail-3.14 DISTNAME= procmail-3.14
CATEGORIES= mail CATEGORIES= mail
#NO_CDROM= "NOFEE: Can not sell" # is GPLed as of version 3.12
MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/ \ MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/ \
ftp://ftp.psg.com/pub/unix/procmail/ \ ftp://ftp.psg.com/pub/unix/procmail/ \
@ -24,19 +23,12 @@ INSTALL_TARGET= install-suid install.man
MAINTAINER= rohee@OpenBSD.ORG MAINTAINER= rohee@OpenBSD.ORG
LICENSE_TYPE= GPL FAKE= Yes
PERMIT_PACKAGE_CDROM= YES PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= YES PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= YES PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= YES PERMIT_DISTFILES_FTP= Yes
HOMEPAGE= http://www.procmail.org HOMEPAGE= http://www.procmail.org
# It asks for list af directories to do test for file locking
# (defaults to /tmp and ".", so return should suffice in most cases).
.if !defined(PACKAGE_BUILDING) # handled in patch-aa
IS_INTERACTIVE= yes
.endif
NO_PACKAGE= interactive port when target is package
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,10 +1,5 @@
$OpenBSD: patch-aa,v 1.2 1999/03/24 19:04:16 rohee Exp $ --- Makefile.orig Fri Apr 2 14:22:07 1999
+++ Makefile Wed Mar 8 22:45:19 2000
This patch remove the default /usr prefix and makes provisions for non
interactive building for the packages maintainer.
--- Makefile.orig Tue Mar 23 23:24:56 1999
+++ Makefile Tue Mar 23 23:28:12 1999
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
# BASENAME should point to where the whole lot will be installed # BASENAME should point to where the whole lot will be installed
@ -14,15 +9,12 @@ interactive building for the packages maintainer.
# For display in the man pages # For display in the man pages
VISIBLE_BASENAME= $(BASENAME) VISIBLE_BASENAME= $(BASENAME)
@@ -53,7 +53,11 @@ @@ -53,7 +53,7 @@
# Makefile.0 - mark, don't (re)move this, a sed script needs it # Makefile.0 - mark, don't (re)move this, a sed script needs it
+.if defined(PACKAGE_BUILDING) -LOCKINGTEST=__defaults__
+LOCKINGTEST=/tmp . +LOCKINGTEST=110
+.else
LOCKINGTEST=__defaults__
+.endif
#LOCKINGTEST=/tmp . # Uncomment and add any directories you see fit. #LOCKINGTEST=/tmp . # Uncomment and add any directories you see fit.
# If LOCKINGTEST is defined, autoconf will NOT # If LOCKINGTEST is defined, autoconf will NOT