diff options
author | asami <asami@FreeBSD.org> | 1998-11-11 05:37:39 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-11-11 05:37:39 +0000 |
commit | 559e1bc28bd975c38b561de15be3918ba1f71b5e (patch) | |
tree | cda169bf1e41b7166c2d2febd3d858c1411d0e64 /databases/mysql55-server | |
parent | 7aed28166a84f266be861367fc9a1add43f9219a (diff) | |
download | FreeBSD-ports-559e1bc28bd975c38b561de15be3918ba1f71b5e.zip FreeBSD-ports-559e1bc28bd975c38b561de15be3918ba1f71b5e.tar.gz |
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.)
Diffstat (limited to 'databases/mysql55-server')
-rw-r--r-- | databases/mysql55-server/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile index 5ed5109..58d40fc 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> |