Better fake. The DNScache installation tools had the fake-workdir path
in them and thus were actually broken if the builddir wasn't still around.
This commit is contained in:
parent
5ac3638444
commit
c830987cd6
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2000/03/27 08:32:24 camield Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2000/04/26 14:06:47 camield Exp $
|
||||
|
||||
DISTNAME= dnscache-1.00
|
||||
HOMEPAGE= http://cr.yp.to/dnscache.html
|
||||
@ -14,7 +14,7 @@ PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
NO_CONFIGURE= Yes
|
||||
ALL_TARGET= default WRKINST=${WRKINST}
|
||||
ALL_TARGET= default
|
||||
INSTALL_TARGET= setup check
|
||||
|
||||
FAKE= Yes
|
||||
@ -26,4 +26,7 @@ pre-build:
|
||||
@echo ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
|
||||
@echo ${PREFIX} > ${WRKSRC}/conf-home
|
||||
|
||||
pre-install:
|
||||
@echo ${PREFIX} > ${WRKSRC}/conf-home
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,15 +1,25 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2000/03/27 08:32:24 camield Exp $
|
||||
$OpenBSD: patch-Makefile,v 1.2 2000/04/26 14:06:47 camield Exp $
|
||||
|
||||
Needed for fake installation.
|
||||
Needed for fake installation. This way the installer can easily be
|
||||
rebuilt with the fake prefix, without rebuilding _everything_.
|
||||
|
||||
--- Makefile.orig Tue Mar 14 09:54:16 2000
|
||||
+++ Makefile Tue Mar 14 09:54:31 2000
|
||||
@@ -31,7 +31,7 @@
|
||||
--- Makefile.orig Wed Apr 26 16:01:05 2000
|
||||
+++ Makefile Wed Apr 26 16:01:31 2000
|
||||
@@ -183,7 +183,7 @@
|
||||
./compile cdb_make.c
|
||||
|
||||
auto_home.c: \
|
||||
auto-str conf-home
|
||||
- ./auto-str auto_home `head -1 conf-home` > auto_home.c
|
||||
+ ./auto-str auto_home ${WRKINST}`head -1 conf-home` > auto_home.c
|
||||
check: \
|
||||
-it instcheck
|
||||
+instcheck
|
||||
./instcheck
|
||||
|
||||
auto_home.o: \
|
||||
compile auto_home.c
|
||||
chkshsgr: \
|
||||
@@ -751,7 +751,7 @@
|
||||
./compile server.c
|
||||
|
||||
setup: \
|
||||
-it install
|
||||
+install
|
||||
./install
|
||||
|
||||
sgetopt.o: \
|
||||
|
Loading…
Reference in New Issue
Block a user