1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Move Makefile.inc to ${FILESDIR}, copy it to ${WRKSRC} during extract

and include it explicitly.

The previous method of relying in the implicit inclusion of "../Makefile.inc"
broke when WRKDIRPREFIX is set.
This commit is contained in:
Satoshi Asami 1998-12-01 08:23:30 +00:00
parent e4297fced6
commit 6b3ced65a9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=14983
3 changed files with 14 additions and 3 deletions

View File

@ -3,7 +3,7 @@
# Date created: Oct 6, 1994
# Whom: pst
#
# $Id: Makefile,v 1.8 1997/07/10 15:50:52 pst Exp $
# $Id: Makefile,v 1.9 1998/08/24 08:41:36 hoek Exp $
#
DISTNAME= pcnfsd.93.02.16
@ -19,4 +19,7 @@ MANCOMPRESSED= maybe
NO_WRKSUBDIR=
post-extract:
${CP} ${FILESDIR}/Makefile.inc ${WRKSRC}
.include <bsd.port.mk>

View File

@ -0,0 +1,7 @@
#
# Directories for pcnfsd(8)
# $Id: Makefile.inc,v 1.2 1995/05/12 12:23:06 asami Exp $
#
BINDIR= ${DESTDIR}/usr/local/libexec
MANDIR= ${DESTDIR}/usr/local/man/man
PRDIR= ${DESTDIR}/var/spool/pcnfs

View File

@ -2,13 +2,14 @@
--- Makefile.44bsd Thu Oct 6 17:18:19 1994
***************
*** 0 ****
--- 1,21 ----
--- 1,22 ----
+ #
+ # @(#)Makefile
+ # Makefile for rpc.pcnfsd for BSD/386 or similar
+ # $Id: patch-ab,v 1.1.1.1 1994/10/07 00:23:56 pst Exp $
+ # $Id: patch-ab,v 1.2 1995/03/19 10:12:39 joerg Exp $
+ #
+
+ .include "Makefile.inc"
+ PROG= rpc.pcnfsd
+ SRCS= pcnfsd_svc.c pcnfsd_xdr.c pcnfsd_v1.c pcnfsd_v2.c pcnfsd_misc.c \
+ pcnfsd_cache.c pcnfsd_print.c