summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2022-04-12 01:02:47 +0000
committergutteridge <gutteridge@pkgsrc.org>2022-04-12 01:02:47 +0000
commit00d26bb2d2f421eca57ae79333f1f56f242df28c (patch)
treefbbf2df17c62855212114f4b6188c15f1365a814 /net
parent44de8ac10055e36fefc6c476cf027ca3cb803b1a (diff)
downloadpkgsrc-00d26bb2d2f421eca57ae79333f1f56f242df28c.tar.gz
freeradius: tweak list generation code examples (NFC)
It's better to generate these lists from the resulting package to be installed via DESTDIR, rather than the ingoing source, as not everything found in the latter is installed. (The sed command also doesn't work with BSD sed as intended, but that's left as-is.)
Diffstat (limited to 'net')
-rw-r--r--net/freeradius/config.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/freeradius/config.mk b/net/freeradius/config.mk
index 519b114c8d6..18bd297deec 100644
--- a/net/freeradius/config.mk
+++ b/net/freeradius/config.mk
@@ -1,6 +1,6 @@
-# $NetBSD: config.mk,v 1.3 2022/04/11 02:05:27 gutteridge Exp $
+# $NetBSD: config.mk,v 1.4 2022/04/12 01:02:47 gutteridge Exp $
-# cd ${WRKSRC}/raddb; find . -type f -or -type l | sort | sed 's,^./,EGFILES+=\t,'
+# cd ${DESTDIR}${EGDIR}/raddb; find . -type f -or -type l | sort | sed 's,^./,EGFILES+=\t,'
EGFILES+= README.rst
EGFILES+= certs/Makefile
EGFILES+= certs/README.md
@@ -274,7 +274,7 @@ EGFILES+= sites-enabled/inner-tunnel
EGFILES+= templates.conf
EGFILES+= trigger.conf
-# cd ${WRKSRC}/raddb; find . -type d | sort | sed 's,^./,EGDIRS+=\t,'
+# cd ${DESTDIR}${EGDIR}/raddb; find . -type d | sort | sed 's,^./,EGDIRS+=\t,'
EGDIRS+= certs
EGDIRS+= mods-available
EGDIRS+= mods-config