summaryrefslogtreecommitdiff
path: root/net/unfs3
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2010-02-04 14:43:31 +0000
committertnn <tnn@pkgsrc.org>2010-02-04 14:43:31 +0000
commit0a60aa8c1ca56929690908f15846791f81e29a33 (patch)
tree507c9860beb93b46d1a09494c7441ffbd3d05722 /net/unfs3
parentcbb7288439c0c8baa3b33bc12256f053b7c0b05c (diff)
downloadpkgsrc-0a60aa8c1ca56929690908f15846791f81e29a33.tar.gz
Depend on flex and bison.
Diffstat (limited to 'net/unfs3')
-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"