summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-09-07 13:38:07 +0000
committerru <ru@FreeBSD.org>2003-09-07 13:38:07 +0000
commitf35a57851fa382dd55052dc218b47fbd23fb8bb4 (patch)
tree413c65bf95aaee4bf099f5cf8a1cd1a6214ca75d /gnu
parent216d4d73b86b21a3b12cf46fcbcc6fb0cc356a54 (diff)
downloadFreeBSD-src-f35a57851fa382dd55052dc218b47fbd23fb8bb4.zip
FreeBSD-src-f35a57851fa382dd55052dc218b47fbd23fb8bb4.tar.gz
Eliminate the need in uname(1) during install.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/send-pr/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/send-pr/Makefile b/gnu/usr.bin/send-pr/Makefile
index c48eff6..f17db49 100644
--- a/gnu/usr.bin/send-pr/Makefile
+++ b/gnu/usr.bin/send-pr/Makefile
@@ -7,7 +7,6 @@ SCRIPTS= send-pr
MAN= send-pr.1
SUBMITTERS= current-users
RELEASE= `uname -rsm`
-RELEASE_EV!= uname -rsm
CLEANFILES+= send-pr send-pr.el
SUBDIR+= doc
@@ -22,8 +21,9 @@ send-pr: send-pr.sh Makefile
${.ALLSRC:N*Makefile} > ${.TARGET}
send-pr.el: send-pr-el.in Makefile
+ default_release=`uname -rsm`; \
sed -e 's,@DATADIR@,/etc,g' \
- -e 's/@DEFAULT_RELEASE@/$(RELEASE_EV)/g' \
+ -e "s/@DEFAULT_RELEASE@/$${default_release}/g" \
-e 's/"unknown"/"$(SUBMITTERS)"/g' \
${.ALLSRC:N*Makefile} > ${.TARGET}
OpenPOWER on IntegriCloud