summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authortv <tv>2005-01-21 02:55:15 +0000
committertv <tv>2005-01-21 02:55:15 +0000
commit6f086d67b7d4f2889140ecaffd2017d798563102 (patch)
tree19df777bcbc70f3b91a35e7711cb2db006a3727a /converters
parent86262d152bbf36e3ce17f40e6d62388cf0a7d0d6 (diff)
downloadpkgsrc-6f086d67b7d4f2889140ecaffd2017d798563102.tar.gz
Make work on more platforms; the appropriate library is -ll, not -lfl.
Diffstat (limited to 'converters')
-rw-r--r--converters/chef/Makefile7
-rw-r--r--converters/chef/files/Makefile6
2 files changed, 5 insertions, 8 deletions
diff --git a/converters/chef/Makefile b/converters/chef/Makefile
index 2d5f8a3fe94..2a7bf8a9990 100644
--- a/converters/chef/Makefile
+++ b/converters/chef/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/04/16 03:25:28 minskim Exp $
+# $NetBSD: Makefile,v 1.5 2005/01/21 02:55:15 tv Exp $
#
DISTNAME= chef.l
@@ -23,6 +23,9 @@ INSTALLATION_DIRS= bin
do-extract:
${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKDIR}/chef.l
- ${CP} ${FILESDIR}/Makefile ${WRKDIR}
+
+do-build:
+ cd ${WRKSRC} && ${LEX} chef.l
+ ${LINK.c} -o ${WRKSRC}/chef ${WRKSRC}/lex.yy.c -ll
.include "../../mk/bsd.pkg.mk"
diff --git a/converters/chef/files/Makefile b/converters/chef/files/Makefile
deleted file mode 100644
index 7d93bcb3174..00000000000
--- a/converters/chef/files/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-PROG= chef
-SRCS= chef.l
-LDADD+= -lfl
-NOMAN= # defined
-
-.include <bsd.prog.mk>