summaryrefslogtreecommitdiff
path: root/x11
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 /x11
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 'x11')
-rw-r--r--x11/xlockmore/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index 0e2b77c05ac4..e0ab6b6f5bfc 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>