cvs commit: ports/editors/emacs-devel Makefile distinfo
pkg-plist ports/editors/emacs-devel/files patch-Makefile.in
patch-configure patch-src-image.c
Anonymous
swell.k at gmail.com
Thu Jul 29 08:23:18 UTC 2010
ashish at FreeBSD.org (Ashish SHUKLA) writes:
>>> +.if ${OSVERSION} > 900000
>>> +PLIST_SUB+= 9X=""
>>> +.else
>>> +PLIST_SUB+= 9X="@comment "
>>> .endif
>> [...]
>>> +%%9X%%%%DATADIR%%/%%EMACS_VER%%/etc/DOC-%%EMACS_VER%%.2
>
>> I don't have such a file on
>
>> $ uname -vm
>> FreeBSD 9.0-CURRENT #0 r210488=f584a68-dirty: Mon Jul 26 04:27:58 UTC 2010 holo at raphael.local:/a/objdir/a/dirty_build/sys/PHOENIX amd64
>
>> I guess the transient file sometimes appear when you re-start broken
>> build rather than using `make clean && make all'.
>
> No it gets created during regular build. For details, check out the following
> build log on 9.0 (amd64):
>
> http://people.freebsd.org/~ashish/logs/emacs-24.0.50.100884%2c1.log
Ah, your tinderbox uses default options. OTOH, I'm using same as emacs-nox11.
> Dumping under the name emacs
> 2237645 pure bytes used
> Adding name emacs-24.0.50.1
[...]
> Dumping under the name emacs
> 2237645 pure bytes used
> Adding name emacs-24.0.50.2
It dumps twice and compiles twice (`cc -o temacs...').
> unset CDPATH; \
> if [ `(cd ./etc; /bin/pwd)` != `(cd /usr/local/share/emacs/24.0.50/etc; /bin/pwd)` ]; \
> then \
> fullversion=`./src/emacs --version | sed -n '1 s/GNU Emacs *//p'`; \
I guess you have 24.0.50.2 for emacs-version. The last digit refers
to build number. Can you figure out when and where build number is added?
Perhaps, we can force it to not increment/rebuild.
> if [ -f "./etc/DOC-${fullversion}" ]; \
> then \
> docfile="DOC-${fullversion}"; \
> else \
> docfile="DOC"; \
> fi; \
> echo "Copying etc/${docfile} to /usr/local/share/emacs/24.0.50/etc ..." ; \
> (cd ./etc; tar -chf - ${docfile}) \
> |(cd /usr/local/share/emacs/24.0.50/etc; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \
> (cd /usr/local/share/emacs/24.0.50/etc; \
> for installuser in ${LOGNAME} ${USERNAME} ${USER} `id -un 2> /dev/null`; do [ -n "${installuser}" ] && break ; done; \
> chown ${installuser} DOC*; chmod a+r DOC*; \
> if test "`echo DOC-*`" != "DOC-*"; then rm -f DOC; fi); \
> else true; fi
> Copying etc/DOC-24.0.50.2 to /usr/local/share/emacs/24.0.50/etc ...
> x DOC-24.0.50.2
More information about the cvs-all
mailing list