summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2004-08-22 12:44:32 +0000
committerschmonz <schmonz@pkgsrc.org>2004-08-22 12:44:32 +0000
commitadf48e84a3eb548edacc7bf655f3b9c2c15302e3 (patch)
treef3b4356023de8b6c7903cc4a6281de98d452b683 /mail
parentad274906b37828f61041850f48134fc1c05756fc (diff)
downloadpkgsrc-adf48e84a3eb548edacc7bf655f3b9c2c15302e3.tar.gz
Put ${WRKSRC} in a more natural location.
Diffstat (limited to 'mail')
-rw-r--r--mail/qmail/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index cd1a0932249..64fa8fbe6e2 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2004/08/22 00:10:51 schmonz Exp $
+# $NetBSD: Makefile,v 1.27 2004/08/22 12:44:32 schmonz Exp $
#
DISTNAME= netqmail-1.05
@@ -25,7 +25,7 @@ CONFLICTS+= pulsar<=0.1.1
.if defined(PKG_PHASE) && ${PKG_PHASE} == "extract"
WRKSRC= ${WRKDIR}/${DISTNAME}
.else
-WRKSRC= ${WRKDIR}/${DISTNAME}/${PKGNAME_NOREV}
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
.endif
PKG_INSTALLATION_TYPES= overwrite pkgviews
@@ -95,7 +95,8 @@ SUBST_MESSAGE.logging= "Setting QUEUE_EXTRA."
post-extract:
${_PKG_SILENT}${_PKG_DEBUG}extract_file=${PKGNAME_NOREV}.tar.gz;\
- export extract_file; cd ${WRKSRC}; ${EXTRACT_CMD}
+ export extract_file; cd ${WRKSRC}; ${EXTRACT_CMD}; \
+ ${MV} ${PKGNAME_NOREV} ..; ${MV} ${DISTNAME}.patch ..
do-configure:
${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc