Use WRKSRC when compiling/installing instead of WRKDIR

This commit is contained in:
zuntum 2001-04-01 21:18:54 +00:00
parent c0ba08f40f
commit 8a50368b73

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2001/03/12 21:39:49 zuntum Exp $
# $NetBSD: Makefile,v 1.3 2001/04/01 21:18:54 zuntum Exp $
#
DISTNAME= qcheck
@ -12,9 +12,9 @@ COMMENT= Text-only biff with Maildir support
NO_CONFIGURE= YES
do-build:
${CC} ${CFLAGS} ${WRKDIR}/qcheck/qcheck.c -o ${WRKDIR}/qcheck/qcheck
${CC} ${CFLAGS} ${WRKSRC}/qcheck.c -o ${WRKSRC}/qcheck
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/qcheck/qcheck ${PREFIX}/bin/qcheck
${INSTALL_PROGRAM} ${WRKSRC}/qcheck ${PREFIX}/bin/qcheck
.include "../../mk/bsd.pkg.mk"