aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-01-17 12:40:00 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-01-17 12:40:00 +0000
commit23c0de20b065b4680065b8801fa4dbad19abd9ca (patch)
tree980e667588739e64d32ee796e35e3a4caea2000c
parent19b929d5e31f6f44304094cb836ef24292d4fe4e (diff)
Do not include bsd.port.pre.mk twice (once in the slave and once in the
master). This is done by defining a variable "PRE_MK_INCLUDED" in the slave before including ${MASTERDIR}/Makefile, and have the master check it before including any necessary macro files.
-rw-r--r--mail/pine4-ssl/Makefile1
-rw-r--r--mail/pine4/Makefile5
-rw-r--r--www/bsdi-netscape47-communicator/Makefile3
-rw-r--r--www/bsdi-netscape47-navigator/Makefile1
-rw-r--r--www/netscape4-communicator/Makefile5
-rw-r--r--www/netscape47-communicator/Makefile3
-rw-r--r--www/netscape47-navigator/Makefile1
-rw-r--r--www/netscape48-communicator/Makefile5
8 files changed, 24 insertions, 0 deletions
diff --git a/mail/pine4-ssl/Makefile b/mail/pine4-ssl/Makefile
index 420615668adf..8913d4217dce 100644
--- a/mail/pine4-ssl/Makefile
+++ b/mail/pine4-ssl/Makefile
@@ -48,4 +48,5 @@ do-build:
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./build bsf EXTRAAUTHENTICATORS=ssl)
.endif
+PRE_MK_INCLUDED= yes
.include "${MASTERDIR}/Makefile"
diff --git a/mail/pine4/Makefile b/mail/pine4/Makefile
index c3e3ae471a46..93e4427b6648 100644
--- a/mail/pine4/Makefile
+++ b/mail/pine4/Makefile
@@ -77,4 +77,9 @@ post-install:
${PREFIX}/bin/pine -P ${PREFIX}/etc/pine.conf -conf >${WRKSRC}/pine.conf
${INSTALL_DATA} ${WRKSRC}/pine.conf ${PREFIX}/etc/pine.conf
+# hack to allow slave ports to include bsd.port.pre.mk and then this file
+.if defined(PRE_MK_INCLUDED)
+.include <bsd.port.post.mk>
+.else
.include <bsd.port.mk>
+.endif
diff --git a/www/bsdi-netscape47-communicator/Makefile b/www/bsdi-netscape47-communicator/Makefile
index a42901864cb5..ecbadab9ba4f 100644
--- a/www/bsdi-netscape47-communicator/Makefile
+++ b/www/bsdi-netscape47-communicator/Makefile
@@ -6,7 +6,9 @@
# $FreeBSD$
#
+.if !defined(PRE_MK_INCLUDED)
.include <bsd.port.pre.mk>
+.endif
.if ${ARCH} == "i386"
MASTER_SITES?= ftp://ftp.netscape.com./pub/communicator/english/4.7/unix/unsupported/freebsd/complete_install/
@@ -30,4 +32,5 @@ BROWSER_VER= 4.7
INFILE_HEAD?= 'Communicator,4.7.0.19990915'
NO_AUTOADMIN= yes
+PRE_MK_INCLUDED= yes
.include "${MASTERDIR}/Makefile"
diff --git a/www/bsdi-netscape47-navigator/Makefile b/www/bsdi-netscape47-navigator/Makefile
index 82cdb7640a67..2a82cc487df5 100644
--- a/www/bsdi-netscape47-navigator/Makefile
+++ b/www/bsdi-netscape47-navigator/Makefile
@@ -21,4 +21,5 @@ ONLY_FOR_ARCHS= i386 alpha
BROWSER= navigator
INFILE_HEAD= 'Navigator,4.7.0.19990915'
+PRE_MK_INCLUDED= yes
.include "${.CURDIR}/../netscape47-communicator/Makefile"
diff --git a/www/netscape4-communicator/Makefile b/www/netscape4-communicator/Makefile
index 94c04a5be102..415d2ab4602f 100644
--- a/www/netscape4-communicator/Makefile
+++ b/www/netscape4-communicator/Makefile
@@ -96,4 +96,9 @@ do-install:
post-install:
${CAT} ${PKGDIR}/DESCR
+# hack to allow slave ports to include bsd.port.pre.mk and then this file
+.if defined(PRE_MK_INCLUDED)
+.include <bsd.port.post.mk>
+.else
.include <bsd.port.mk>
+.endif
diff --git a/www/netscape47-communicator/Makefile b/www/netscape47-communicator/Makefile
index a42901864cb5..ecbadab9ba4f 100644
--- a/www/netscape47-communicator/Makefile
+++ b/www/netscape47-communicator/Makefile
@@ -6,7 +6,9 @@
# $FreeBSD$
#
+.if !defined(PRE_MK_INCLUDED)
.include <bsd.port.pre.mk>
+.endif
.if ${ARCH} == "i386"
MASTER_SITES?= ftp://ftp.netscape.com./pub/communicator/english/4.7/unix/unsupported/freebsd/complete_install/
@@ -30,4 +32,5 @@ BROWSER_VER= 4.7
INFILE_HEAD?= 'Communicator,4.7.0.19990915'
NO_AUTOADMIN= yes
+PRE_MK_INCLUDED= yes
.include "${MASTERDIR}/Makefile"
diff --git a/www/netscape47-navigator/Makefile b/www/netscape47-navigator/Makefile
index 82cdb7640a67..2a82cc487df5 100644
--- a/www/netscape47-navigator/Makefile
+++ b/www/netscape47-navigator/Makefile
@@ -21,4 +21,5 @@ ONLY_FOR_ARCHS= i386 alpha
BROWSER= navigator
INFILE_HEAD= 'Navigator,4.7.0.19990915'
+PRE_MK_INCLUDED= yes
.include "${.CURDIR}/../netscape47-communicator/Makefile"
diff --git a/www/netscape48-communicator/Makefile b/www/netscape48-communicator/Makefile
index 94c04a5be102..415d2ab4602f 100644
--- a/www/netscape48-communicator/Makefile
+++ b/www/netscape48-communicator/Makefile
@@ -96,4 +96,9 @@ do-install:
post-install:
${CAT} ${PKGDIR}/DESCR
+# hack to allow slave ports to include bsd.port.pre.mk and then this file
+.if defined(PRE_MK_INCLUDED)
+.include <bsd.port.post.mk>
+.else
.include <bsd.port.mk>
+.endif