summaryrefslogtreecommitdiff
path: root/graphics/sane-backends
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>1999-04-07 19:10:45 +0000
committerBill Fenner <fenner@FreeBSD.org>1999-04-07 19:10:45 +0000
commit29e149071cc8b6d60ac1093b1a2ba0c526329901 (patch)
tree63c79caf7e8b2fce9344b4747d92ae790e836795 /graphics/sane-backends
parentpackage dist file, not current settings (diff)
Use bsd.port.{pre,post}.mk and ${OSVERSION} instead of getting it
by hand. Found by: building ports with sysctl not in my path
Notes
Notes: svn path=/head/; revision=17712
Diffstat (limited to 'graphics/sane-backends')
-rw-r--r--graphics/sane-backends/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile
index f8abf48723da..8d1749d46dc6 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 <bsd.port.pre.mk>
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 <bsd.port.mk>
+.include <bsd.port.post.mk>