summaryrefslogtreecommitdiffstats
path: root/usr.bin/ee/Makefile
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-05-26 21:06:51 +0000
committered <ed@FreeBSD.org>2009-05-26 21:06:51 +0000
commit0eb321bfa5b1682b73c457c1fcd707f6224656a5 (patch)
treea7172f11154913ffceb4ab9794d4c0a4d1733ec4 /usr.bin/ee/Makefile
parent6eedde2cb2112e5beaf70ab8509c1837b8991375 (diff)
downloadFreeBSD-src-0eb321bfa5b1682b73c457c1fcd707f6224656a5.zip
FreeBSD-src-0eb321bfa5b1682b73c457c1fcd707f6224656a5.tar.gz
Merge local changes to ee(1) into contrib space.
The source file, manual page and English translation are now directly obtained from the contrib/ directory. This makes it a lot easier to merge a newer version of ee(1) into the tree. Thanks to: des and jhb
Diffstat (limited to 'usr.bin/ee/Makefile')
-rw-r--r--usr.bin/ee/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/ee/Makefile b/usr.bin/ee/Makefile
index 8fdc499..0a75b5f 100644
--- a/usr.bin/ee/Makefile
+++ b/usr.bin/ee/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.PATH: ${.CURDIR}/../../contrib/ee
+
CFLAGS+= -DCAP -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
-DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DSLCT_HDR
@@ -21,7 +23,11 @@ NLSLINKS_de_DE.ISO8859-1= de_AT.ISO8859-1 de_AT.ISO8859-15 de_CH.ISO8859-1 \
NLSSRCFILES=ee.msg
.for lang in ${NLS}
+. if exists(${.CURDIR}/nls/${lang}/ee.msg)
NLSSRCDIR_${lang}= ${.CURDIR}/nls/${lang}
+. else
+NLSSRCDIR_${lang}= ${.CURDIR}/../../contrib/ee
+. endif
.endfor
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud