From dbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Wed, 11 Nov 1998 05:37:39 +0000 Subject: 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 to before. (This is not by any means the complete list but just the ones I've noticed recently.) --- databases/p5-DBI/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'databases/p5-DBI') 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 # -# $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 + .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 +.include -- cgit v1.2.3