Tryed to update to use latest PATCHFILES hack in bsd.port.mk but I

can't get it to work because the patch is on a non-anon ftp site
and it needs its own ncftprc file.  Hmm....

Changed PATCHFILES -> PATCH_FILES so it works for now.
This commit is contained in:
Satoshi Asami 1995-03-28 02:16:21 +00:00
parent fd50caa4fd
commit 62cb097520
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1215

View File

@ -7,7 +7,8 @@
DISTNAME= dgd-1.0.9
DISTFILES= ${DISTNAME}.tar.gz
PATCHFILES= 1.0.9-1.0.9.1.gz
# changed from PATCHFILES so it won't confuse bsd.port.mk
PATCH_FILES= 1.0.9-1.0.9.1.gz
.if defined(MASTER_SITE_OVERRIDE)
PATCHSITE:= ${MASTER_SITE_OVERRIDE}
.else
@ -27,7 +28,7 @@ pre-fetch:
&& mv ${DISTNAME}.tar.gz ${DISTDIR}; \
fi
.if defined(MASTER_SITE_OVERRIDE)
@for file in ${PATCHFILES}; do \
@for file in ${PATCH_FILES}; do \
if [ ! -f ${DISTDIR}/${DISTNAME}/$$file ]; then \
echo ">> Fetching patch $$file from remote site..."; \
${NCFTP} ${NCFTPFLAGS} ${PATCHSITE}${DISTNAME}/$$file \
@ -35,7 +36,7 @@ pre-fetch:
fi \
done
.else
@for file in ${PATCHFILES}; do \
@for file in ${PATCH_FILES}; do \
if [ ! -f ${DISTDIR}/${DISTNAME}/$$file ]; then \
echo ">> Fetching patch $$file from remote site..."; \
${NCFTP} ${NCFTPFLAGS} ${PATCHSITE}patches/$$file \