summaryrefslogtreecommitdiff
path: root/misc/xdg-dirs/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2005-04-28 23:04:08 +0000
committerjlam <jlam>2005-04-28 23:04:08 +0000
commite012f7b8ea3bfaa42876ff7a9c2291c3fdeac453 (patch)
treea28a5edbce25cada8e696909b41429064e533b78 /misc/xdg-dirs/Makefile
parent6567d00e6144492a50b6ae29e306cb1b6e48f6d2 (diff)
downloadpkgsrc-e012f7b8ea3bfaa42876ff7a9c2291c3fdeac453.tar.gz
We don't need to use ${SORT} to sort a list -- just use the :O modifier.
Diffstat (limited to 'misc/xdg-dirs/Makefile')
-rw-r--r--misc/xdg-dirs/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc/xdg-dirs/Makefile b/misc/xdg-dirs/Makefile
index 8e30849f177..53b78ee3ff2 100644
--- a/misc/xdg-dirs/Makefile
+++ b/misc/xdg-dirs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/04/19 10:52:26 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2005/04/28 23:04:08 jlam Exp $
#
DISTNAME= xdg-dirs-1.2
@@ -23,8 +23,7 @@ WRKSRC= ${WRKDIR}
.include "dirs.mk"
.include "../../mk/bsd.prefs.mk"
-_SORTED!= ${ECHO} ${XDG_DIRS} | ${TR} -s ' \t' '\n' | ${SORT}
-MAKE_DIRS+= ${_SORTED:S/^/${PREFIX}\//}
+MAKE_DIRS+= ${XDG_DIRS:O:S/^/${PREFIX}\//}
do-install: # nothing