summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
commitdbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b (patch)
treedeebef625a152490a0bbcb7e5602d05a59b1c010 /databases
parentMake bsd.port.mk includable in two phases. bsd.port.pre.mk defines only (diff)
Use bsd.port.{pre,post}.mk. Either use them to avoid having to define
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after .include <bsd.port.mk> to before. (This is not by any means the complete list but just the ones I've noticed recently.)
Notes
Notes: svn path=/head/; revision=14465
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql322-client/Makefile9
-rw-r--r--databases/mysql322-server/Makefile9
-rw-r--r--databases/mysql323-client/Makefile9
-rw-r--r--databases/mysql323-server/Makefile9
-rw-r--r--databases/mysql40-client/Makefile9
-rw-r--r--databases/mysql40-server/Makefile9
-rw-r--r--databases/mysql41-client/Makefile9
-rw-r--r--databases/mysql41-server/Makefile9
-rw-r--r--databases/mysql50-client/Makefile9
-rw-r--r--databases/mysql50-server/Makefile9
-rw-r--r--databases/mysql51-client/Makefile9
-rw-r--r--databases/mysql51-server/Makefile9
-rw-r--r--databases/mysql54-client/Makefile9
-rw-r--r--databases/mysql54-server/Makefile9
-rw-r--r--databases/mysql55-client/Makefile9
-rw-r--r--databases/mysql55-server/Makefile9
-rw-r--r--databases/mysql60-client/Makefile9
-rw-r--r--databases/mysql60-server/Makefile9
-rw-r--r--databases/p5-DBI-137/Makefile7
-rw-r--r--databases/p5-DBI/Makefile7
-rw-r--r--databases/percona55-client/Makefile9
-rw-r--r--databases/percona55-server/Makefile9
22 files changed, 108 insertions, 86 deletions
diff --git a/databases/mysql322-client/Makefile b/databases/mysql322-client/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql322-client/Makefile
+++ b/databases/mysql322-client/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql322-server/Makefile b/databases/mysql322-server/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql322-server/Makefile
+++ b/databases/mysql322-server/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql323-client/Makefile b/databases/mysql323-client/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql323-client/Makefile
+++ b/databases/mysql323-client/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql323-server/Makefile b/databases/mysql323-server/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql323-server/Makefile
+++ b/databases/mysql323-server/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql40-client/Makefile b/databases/mysql40-client/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql40-client/Makefile
+++ b/databases/mysql40-client/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql40-server/Makefile
+++ b/databases/mysql40-server/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql41-client/Makefile b/databases/mysql41-client/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql41-client/Makefile
+++ b/databases/mysql41-client/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql41-server/Makefile b/databases/mysql41-server/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql41-server/Makefile
+++ b/databases/mysql41-server/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql50-client/Makefile b/databases/mysql50-client/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql50-client/Makefile
+++ b/databases/mysql50-client/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql50-server/Makefile
+++ b/databases/mysql50-server/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql51-client/Makefile b/databases/mysql51-client/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql51-client/Makefile
+++ b/databases/mysql51-client/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-server/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql54-client/Makefile b/databases/mysql54-client/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql54-client/Makefile
+++ b/databases/mysql54-client/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-server/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql55-client/Makefile b/databases/mysql55-client/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql55-client/Makefile
+++ b/databases/mysql55-client/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-server/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql60-client/Makefile b/databases/mysql60-client/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql60-client/Makefile
+++ b/databases/mysql60-client/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/mysql60-server/Makefile
+++ b/databases/mysql60-server/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/p5-DBI-137/Makefile b/databases/p5-DBI-137/Makefile
index 7a3d252682e8..d2e8cfd05fcd 100644
--- a/databases/p5-DBI-137/Makefile
+++ b/databases/p5-DBI-137/Makefile
@@ -3,7 +3,7 @@
# Date created: October 17th 1996
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
-# $Id: Makefile,v 1.16 1998/09/16 12:48:16 vanilla Exp $
+# $Id: Makefile,v 1.17 1998/10/12 04:04:28 jseger Exp $
#
DISTNAME= DBI-1.02
@@ -18,7 +18,8 @@ BUILD_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/RPC/pServer.pm:${PORTSD
USE_PERL5= YES
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if ${OSVERSION} >= 300000
BROKEN= perl
.endif
@@ -37,4 +38,4 @@ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
do-configure:
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/p5-DBI/Makefile b/databases/p5-DBI/Makefile
index 7a3d252682e8..d2e8cfd05fcd 100644
--- a/databases/p5-DBI/Makefile
+++ b/databases/p5-DBI/Makefile
@@ -3,7 +3,7 @@
# Date created: October 17th 1996
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
-# $Id: Makefile,v 1.16 1998/09/16 12:48:16 vanilla Exp $
+# $Id: Makefile,v 1.17 1998/10/12 04:04:28 jseger Exp $
#
DISTNAME= DBI-1.02
@@ -18,7 +18,8 @@ BUILD_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/RPC/pServer.pm:${PORTSD
USE_PERL5= YES
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if ${OSVERSION} >= 300000
BROKEN= perl
.endif
@@ -37,4 +38,4 @@ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
do-configure:
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/percona55-client/Makefile b/databases/percona55-client/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/percona55-client/Makefile
+++ b/databases/percona55-client/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
index 5ed51094cf47..58d40fc5d51e 100644
--- a/databases/percona55-server/Makefile
+++ b/databases/percona55-server/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.29 1998/10/08 01:20:26 asami Exp $
+# $Id: Makefile,v 1.30 1998/10/22 07:47:24 thepish Exp $
#
DISTNAME= mysql-3.22.9-beta
@@ -30,7 +30,8 @@ CONFIGURE_ENV+= PERL=${PERL5} \
PERL5=${PERL5} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000
CONFIGURE_ARGS+= --with-named-thread-libs=-lc_r
.else
@@ -58,7 +59,7 @@ pre-fetch:
@${ECHO} "Using mit-pthreads."
@${ECHO}
.endif
-
+
pre-install:
.if defined(PACKAGE_BUILDING)
@ ${RM} -rf /var/db/mysql
@@ -95,4 +96,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>