diff options
author | bapt <bapt@FreeBSD.org> | 2014-11-22 09:41:58 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-11-22 09:41:58 +0800 |
commit | ad55a43f09538b230a09fd463a5f46e0b610bebb (patch) | |
tree | 13bf2fbe86ef142a9d4d5f7900649df3dc44a41c /Mk/bsd.commands.mk | |
parent | 538d3f346e22aebfcd49422453d209506c663868 (diff) | |
download | freebsd-ports-gnome-ad55a43f09538b230a09fd463a5f46e0b610bebb.tar.gz freebsd-ports-gnome-ad55a43f09538b230a09fd463a5f46e0b610bebb.tar.zst freebsd-ports-gnome-ad55a43f09538b230a09fd463a5f46e0b610bebb.zip |
Define SOELIM
If base have the new soeliminate(1) then use it first otherwise fallback on
groff's soelim
Diffstat (limited to 'Mk/bsd.commands.mk')
-rw-r--r-- | Mk/bsd.commands.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.commands.mk b/Mk/bsd.commands.mk index e07cbc78a658..caf05e83db60 100644 --- a/Mk/bsd.commands.mk +++ b/Mk/bsd.commands.mk @@ -104,6 +104,11 @@ XZ_CMD?= /usr/bin/xz ${XZ} MD5?= /sbin/md5 SHA256?= /sbin/sha256 +.if exist(/usr/bin/soeliminate) +SOELIM?= /usr/bin/soeliminate +.else +SOELIM?= /usr/bin/soelim +.endif # ECHO is defined in /usr/share/mk/sys.mk, which can either be "echo", # or "true" if the make flag -s is given. Use ECHO_CMD where you mean |