Remove work-around. pkg_create bug has been fixed by espie@

This commit is contained in:
camield 2000-04-04 15:37:10 +00:00
parent cbc8a83d6f
commit 5c7b5a7060
2 changed files with 2 additions and 24 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2000/04/04 08:02:32 camield Exp $
# $OpenBSD: Makefile,v 1.10 2000/04/04 15:37:10 camield Exp $
DISTNAME= dot-forward-0.71
HOMEPAGE= http://cr.yp.to/dot-forward.html
@ -34,14 +34,4 @@ pre-build:
@echo ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
@echo ${PREFIX} > ${WRKSRC}/conf-qmail
# Hack to work around a bug in pkg_create: it wants PREFIX to exists
# even when the srcdir is set to the fake PREFIX.
# Don't bail out early if directory already exists or is not empty.
pre-package:
@mkdir ${PREFIX} || true
post-package:
@rmdir ${PREFIX} || true
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2000/03/28 07:28:33 camield Exp $
# $OpenBSD: Makefile,v 1.9 2000/04/04 15:37:11 camield Exp $
DISTNAME= fastforward-0.51
HOMEPAGE= http://cr.yp.to/fastforward.html
@ -34,16 +34,4 @@ pre-build:
@echo ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
@echo ${PREFIX} > ${WRKSRC}/conf-qmail
pre-fake:
@mkdir -p ${PREFIX}
# Hack to work around a bug in pkg_create: it wants PREFIX to exists
# even when the srcdir is set to the fake PREFIX
pre-package:
@mkdir ${PREFIX}
post-package:
@rmdir ${PREFIX}
.include <bsd.port.mk>