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 /x11/xlockmore/Makefile | |
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 'x11/xlockmore/Makefile')
-rw-r--r-- | x11/xlockmore/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile index 0e2b77c..e0ab6b6 100644 --- a/x11/xlockmore/Makefile +++ b/x11/xlockmore/Makefile @@ -3,7 +3,7 @@ # Date created: 9 November 1994 # Whom: smace # -# $Id: Makefile,v 1.42 1998/10/01 02:17:49 jseger Exp $ +# $Id: Makefile,v 1.43 1998/10/01 06:19:19 tg Exp $ # DISTNAME= xlockmore-4.12 @@ -26,7 +26,8 @@ CONFIGURE_ARGS+= --enable-kerberos4 USE_X_PREFIX= yes MAN1= xlock.1 -OSVERSION!= sysctl -n kern.osreldate +.include <bsd.port.pre.mk> + .if ${OSVERSION} > 300000 CONFIGURE_ARGS+= --with-libraries=/usr/lib/aout .endif @@ -39,4 +40,4 @@ LIB_DEPENDS+= GL.14:${PORTSDIR}/graphics/Mesa3 CONFIGURE_ARGS+= --without-mesagl .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |