Better fake.
This commit is contained in:
parent
6c4a244a6e
commit
412094c25c
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2000/04/04 08:19:41 camield Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2000/04/26 14:39:29 camield Exp $
|
||||
|
||||
DISTNAME= publicfile-0.52
|
||||
HOMEPAGE= http://cr.yp.to/publicfile.html
|
||||
@ -16,7 +16,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
|
||||
@ -28,4 +28,7 @@ pre-build:
|
||||
@echo ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
|
||||
@echo ${PREFIX}/publicfile > ${WRKSRC}/conf-home
|
||||
|
||||
pre-install:
|
||||
@echo ${PREFIX}/publicfile > ${WRKSRC}/conf-home
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,15 +1,25 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1 2000/04/04 08:19:41 camield Exp $
|
||||
$OpenBSD: patch-Makefile,v 1.2 2000/04/26 14:39:30 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 Apr 4 10:13:38 2000
|
||||
+++ Makefile Tue Apr 4 10:13:52 2000
|
||||
@@ -26,7 +26,7 @@
|
||||
--- Makefile.orig Tue Nov 9 08:23:46 1999
|
||||
+++ Makefile Wed Apr 26 16:36:46 2000
|
||||
@@ -82,7 +82,7 @@
|
||||
./compile case_startb.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: \
|
||||
@@ -389,7 +389,7 @@
|
||||
./choose c trysysel select.h1 select.h2 > select.h
|
||||
|
||||
setup: \
|
||||
-it install
|
||||
+install
|
||||
./install
|
||||
|
||||
sig.a: \
|
||||
|
Loading…
Reference in New Issue
Block a user