From da9ea9d0842d149c83125fa52268ab07603aeaea Mon Sep 17 00:00:00 2001 From: fenner Date: Wed, 7 Apr 1999 19:10:45 +0000 Subject: Use bsd.port.{pre,post}.mk and ${OSVERSION} instead of getting it by hand. Found by: building ports with sysctl not in my path --- graphics/sane-backends/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'graphics/sane-backends') diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile index f8abf48..8d1749d 100644 --- a/graphics/sane-backends/Makefile +++ b/graphics/sane-backends/Makefile @@ -4,7 +4,7 @@ # Whom: gary@hotlava.com # obrien@FreeBSD.org # -# $Id: Makefile,v 1.13 1999/01/22 22:10:04 nectar Exp $ +# $Id: Makefile,v 1.14 1999/04/03 14:55:00 flathill Exp $ # DISTNAME= sane-1.00 @@ -17,11 +17,11 @@ MAINTAINER= gary@hotlava.com LIB_DEPENDS= gtk12.1:${PORTSDIR}/x11-toolkits/gtk12 \ jpeg.9:${PORTSDIR}/graphics/jpeg -VERSION!= sysctl -n kern.osreldate +.include USE_GMAKE= yes GNU_CONFIGURE= yes -.if ${VERSION} < 300000 +.if ${OSVERSION} < 300000 CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" \ GTK_CONFIG="${X11BASE}/bin/gtk12-config" @@ -62,4 +62,4 @@ post-install: ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib @${CAT} ${PKGDIR}/MESSAGE -.include +.include -- cgit v1.1