summaryrefslogtreecommitdiff
path: root/net/unfs3/Makefile
diff options
context:
space:
mode:
authortnn <tnn>2010-02-04 14:43:31 +0000
committertnn <tnn>2010-02-04 14:43:31 +0000
commitc9460035d566198711f1a29f1e00ff15cf6d288f (patch)
tree507c9860beb93b46d1a09494c7441ffbd3d05722 /net/unfs3/Makefile
parentc22ed28b51497714cdb23d2151169b908d1cba70 (diff)
downloadpkgsrc-c9460035d566198711f1a29f1e00ff15cf6d288f.tar.gz
Depend on flex and bison.
Diffstat (limited to 'net/unfs3/Makefile')
-rw-r--r--net/unfs3/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/net/unfs3/Makefile b/net/unfs3/Makefile
index 166a8df556a..4d3bb785198 100644
--- a/net/unfs3/Makefile
+++ b/net/unfs3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2009/05/22 20:02:31 tnn Exp $
+# $NetBSD: Makefile,v 1.6 2010/02/04 14:43:31 tnn Exp $
#
DISTNAME= unfs3-0.9.22
@@ -9,9 +9,12 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://unfs3.sourceforge.net/
COMMENT= Userspace NFSv3 server
-GNU_CONFIGURE= yes
PKG_DESTDIR_SUPPORT= user-destdir
-USE_TOOLS+= gmake
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake flex bison
+
+LDFLAGS+= -lfl
CONF_FILES+= ${PREFIX}/share/examples/unfs3/exports \
${PKG_SYSCONFDIR}/exports
@@ -25,10 +28,12 @@ SUBST_MESSAGE.exports= Fixing path to exports(5)
SUBST_FILES.exports= daemon.c unfsd.8
SUBST_SED.exports= -e 's,/etc/exports,${PKG_SYSCONFDIR}/exports,g'
-.include "../../mk/bsd.prefs.mk"
-
+pre-build:
+ cd ${WRKSRC}/Config && ${MAKE_PROGRAM} clean
+
post-install:
- ${INSTALL_DATA} ${FILESDIR}/exports \
- ${DESTDIR}${PREFIX}/share/examples/unfs3
+ ${INSTALL_DATA} ${FILESDIR}/exports \
+ ${DESTDIR}${PREFIX}/share/examples/unfs3
+.include "../../devel/flex/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"