summaryrefslogtreecommitdiff
path: root/lang/bc-gcc
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 /lang/bc-gcc
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 'lang/bc-gcc')
-rw-r--r--lang/bc-gcc/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/bc-gcc/Makefile b/lang/bc-gcc/Makefile
index 87c65b48158e..0f93507ba365 100644
--- a/lang/bc-gcc/Makefile
+++ b/lang/bc-gcc/Makefile
@@ -4,7 +4,7 @@
# Date created: Sun June 08, 1997
# Whom: David O'Brien (obrien@FreeBSD.org)
#
-# $Id: Makefile,v 1.3 1997/06/08 12:58:59 andreas Exp $
+# $Id: Makefile,v 1.1.1.1 1998/08/26 09:41:56 obrien Exp $
#
DISTNAME= gcc-2.7.2
@@ -24,7 +24,8 @@ PATCH_DIST_STRIP= -p1 -N -E
MAINTAINER= obrien@FreeBSD.org
-OSVERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
+
.if ${OSVERSION} >= 300000
BROKEN= "can't find /usr/lib/aout/crt0.o"
.endif
@@ -58,4 +59,4 @@ post-install:
do strip $$prog ; \
done )
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>