summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-04-24 23:24:25 +0000
committertron <tron@pkgsrc.org>1999-04-24 23:24:25 +0000
commit5ff2ae503c3724576ba294bf6dc61b533fed8f0d (patch)
treeaf7cae95aaa454e49a7768393e65e9c2121bea92 /net
parent6933848e2d5047b7f6f9d11c817ecadbb60a200b (diff)
downloadpkgsrc-5ff2ae503c3724576ba294bf6dc61b533fed8f0d.tar.gz
Simplify handling of included patch files.
Diffstat (limited to 'net')
-rw-r--r--net/radius/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/net/radius/Makefile b/net/radius/Makefile
index 181596eb645..67e2511c9ac 100644
--- a/net/radius/Makefile
+++ b/net/radius/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1999/04/24 23:20:11 tron Exp $
+# $NetBSD: Makefile,v 1.7 1999/04/24 23:24:25 tron Exp $
#
# Tempted to install another radius package?
#
@@ -39,11 +39,8 @@ MAKE_ENV+= RADLIBS="${RADLIBS} -lskey" LIBS=-lcrypt \
.include "../../mk/bsd.prefs.mk"
pre-patch:
- @cd ${WRKSRC} ; \
- ${PATCH} -sp < prediff.diff ; \
- for i in ftp simult skey ; \
- do \
- ${PATCH} -sp < rad.$${i}.diff ; \
- done
+.for FILE in prediff rad.ftp rad.simult rad.skey
+ @cd ${WRKSRC}; ${PATCH} -sp <${FILE}.diff
+.endfor
.include "../../mk/bsd.pkg.mk"