pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Introduce EMACS_BUILDLINK to decide if Emacs lisp file...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e69c756f075e
branches: trunk
changeset: 548306:e69c756f075e
user: uebayasi <uebayasi%pkgsrc.org@localhost>
date: Mon Oct 13 08:07:02 2008 +0000
description:
Introduce EMACS_BUILDLINK to decide if Emacs lisp file wrappers are really
created or not. Packages that include other ELP's buildlink3.mk must define
EMACS_BUILDLINK. Other packages don't create wrappers, which reduces build
time a lot.
diffstat:
devel/flim/Makefile | 3 ++-
devel/pvs/Makefile | 4 +++-
devel/semantic/Makefile | 4 +++-
devel/semi/Makefile | 3 ++-
editors/emacs/modules.mk | 14 +++++++++++++-
inputmethod/iiimecf/Makefile | 4 +++-
inputmethod/skk/Makefile | 3 ++-
mail/wl/Makefile | 4 +++-
misc/elscreen/Makefile | 4 +++-
misc/lookup/Makefile | 3 ++-
www/emacs-w3m/Makefile | 4 +++-
11 files changed, 39 insertions(+), 11 deletions(-)
diffs (214 lines):
diff -r 4aa86502fc15 -r e69c756f075e devel/flim/Makefile
--- a/devel/flim/Makefile Mon Oct 13 06:03:52 2008 +0000
+++ b/devel/flim/Makefile Mon Oct 13 08:07:02 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2008/10/11 09:31:55 uebayasi Exp $
+# $NetBSD: Makefile,v 1.29 2008/10/13 08:07:02 uebayasi Exp $
DISTNAME= flim-1.14.7
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
@@ -33,6 +33,7 @@
MAKEFLAGS.xemacs+= PACKAGEDIR=${EMACS_LISPPREFIX:C|/lisp$||}
EMACS_MODULES= base
+EMACS_BUILDLINK=# defined
post-build:
@cd ${WRKSRC}; for i in mime-en mime-ja; do \
diff -r 4aa86502fc15 -r e69c756f075e devel/pvs/Makefile
--- a/devel/pvs/Makefile Mon Oct 13 06:03:52 2008 +0000
+++ b/devel/pvs/Makefile Mon Oct 13 08:07:02 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2008/10/11 09:31:55 uebayasi Exp $
+# $NetBSD: Makefile,v 1.36 2008/10/13 08:07:02 uebayasi Exp $
#
DISTNAME= pvs-${VERSION}
@@ -43,6 +43,8 @@
INSTALLATION_DIRS= bin
+EMACS_BUILDLINK= # defined
+
do-build:
${SED} -e "s|@PREFIX@|${PREFIX}|" ${WRKSRC}/pvs > ${WRKSRC}/pvs.tmp
${MV} -f ${WRKSRC}/pvs.tmp ${WRKSRC}/pvs
diff -r 4aa86502fc15 -r e69c756f075e devel/semantic/Makefile
--- a/devel/semantic/Makefile Mon Oct 13 06:03:52 2008 +0000
+++ b/devel/semantic/Makefile Mon Oct 13 08:07:02 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2008/10/11 09:31:55 uebayasi Exp $
+# $NetBSD: Makefile,v 1.26 2008/10/13 08:07:02 uebayasi Exp $
#
DISTNAME= semantic-1.4.4
@@ -39,6 +39,8 @@
INSTALLATION_DIRS= ${EMACS_INFOPREFIX}
+EMACS_BUILDLINK=# defined
+
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/semantic
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
diff -r 4aa86502fc15 -r e69c756f075e devel/semi/Makefile
--- a/devel/semi/Makefile Mon Oct 13 06:03:52 2008 +0000
+++ b/devel/semi/Makefile Mon Oct 13 08:07:02 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2008/10/11 09:31:55 uebayasi Exp $
+# $NetBSD: Makefile,v 1.28 2008/10/13 08:07:02 uebayasi Exp $
#
DISTNAME= semi-1.14.6
@@ -31,6 +31,7 @@
INFO_FILES= # PLIST
EMACS_MODULES= base
+EMACS_BUILDLINK=# defined
BUILD_TARGET.emacs= elc
BUILD_TARGET.xemacs= package
diff -r 4aa86502fc15 -r e69c756f075e editors/emacs/modules.mk
--- a/editors/emacs/modules.mk Mon Oct 13 06:03:52 2008 +0000
+++ b/editors/emacs/modules.mk Mon Oct 13 08:07:02 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: modules.mk,v 1.1 2008/10/11 09:31:56 uebayasi Exp $
+# $NetBSD: modules.mk,v 1.2 2008/10/13 08:07:02 uebayasi Exp $
#
# This Makefile fragment handles Emacs Lisp Packages (== ELPs).
#
@@ -63,6 +63,16 @@
# Default value:
# emacs21, emacs21nox, emacs22, emacs22nox, emacs20, xemacs215, xemacs215nox, xemacs214, xemacs214nox
#
+# EMACS_BUILDLINK
+# Description:
+# Whether create buildlink directory of *.el / *.elc
+# files. ELPs which include other ELP's buildlink3.mk
+# must define this value.
+# Possible values:
+# <defined>, <undefined>
+# Default value:
+# <undefined>
+#
# Variables provided for ELPs:
#
# EMACS_BIN
@@ -309,9 +319,11 @@
# Build environment (buildlink3)
#
+.if defined(EMACS_BUILDLINK)
_EMACS_DIR= ${BUILDLINK_DIR}/share/emacs
ALL_ENV+= EMACSLOADPATH=${_EMACS_DIR}/${_EMACS_VERSION_MAJOR}.${_EMACS_VERSION_MINOR}/lisp:${_EMACS_DIR}/site-lisp
.include "${_EMACS_PKGDIR}/buildlink3.mk"
+.endif
.endif # EMACS_MK
diff -r 4aa86502fc15 -r e69c756f075e inputmethod/iiimecf/Makefile
--- a/inputmethod/iiimecf/Makefile Mon Oct 13 06:03:52 2008 +0000
+++ b/inputmethod/iiimecf/Makefile Mon Oct 13 08:07:02 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2008/10/11 09:31:57 uebayasi Exp $
+# $NetBSD: Makefile,v 1.11 2008/10/13 08:07:02 uebayasi Exp $
#
DISTNAME= IIIMECF-0.6
@@ -13,6 +13,8 @@
PKG_DESTDIR_SUPPORT= user-destdir
+EMACS_BUILDLINK=# defined
+
do-build:
@cd ${WRKSRC} && \
${EMACS_BIN} -q --no-site-file -batch -l iiimcf-comp.el
diff -r 4aa86502fc15 -r e69c756f075e inputmethod/skk/Makefile
--- a/inputmethod/skk/Makefile Mon Oct 13 06:03:52 2008 +0000
+++ b/inputmethod/skk/Makefile Mon Oct 13 08:07:02 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2008/10/11 09:31:57 uebayasi Exp $
+# $NetBSD: Makefile,v 1.19 2008/10/13 08:07:02 uebayasi Exp $
#
DISTNAME= ddskk-20080309
@@ -16,6 +16,7 @@
CONFLICTS= ddskk-[0-9]*
EMACS_MODULES+= base leim
+EMACS_BUILDLINK=# defined
MAKEFLAGS+= EMACS=${EMACS_BIN:Q}
MAKE_ENV= prefix=${DESTDIR:Q}${PREFIX:Q} \
diff -r 4aa86502fc15 -r e69c756f075e mail/wl/Makefile
--- a/mail/wl/Makefile Mon Oct 13 06:03:52 2008 +0000
+++ b/mail/wl/Makefile Mon Oct 13 08:07:02 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2008/10/11 09:31:57 uebayasi Exp $
+# $NetBSD: Makefile,v 1.39 2008/10/13 08:07:02 uebayasi Exp $
DISTNAME= wl-2.14.0
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
@@ -26,6 +26,8 @@
${EXAMPLESDIR}/en ${EXAMPLESDIR}/ja \
${EMACS_INFOPREFIX}
+EMACS_BUILDLINK=# defined
+
post-install:
@set -e; \
for f in BUGS NEWS README; do \
diff -r 4aa86502fc15 -r e69c756f075e misc/elscreen/Makefile
--- a/misc/elscreen/Makefile Mon Oct 13 06:03:52 2008 +0000
+++ b/misc/elscreen/Makefile Mon Oct 13 08:07:02 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2008/10/11 09:31:57 uebayasi Exp $
+# $NetBSD: Makefile,v 1.16 2008/10/13 08:07:02 uebayasi Exp $
#
DISTNAME= elscreen-1.4.5
@@ -24,6 +24,8 @@
NO_BUILD= yes
+EMACS_BUILDLINK=# defined
+
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/elscreen
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/elscreen
diff -r 4aa86502fc15 -r e69c756f075e misc/lookup/Makefile
--- a/misc/lookup/Makefile Mon Oct 13 06:03:52 2008 +0000
+++ b/misc/lookup/Makefile Mon Oct 13 08:07:02 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2008/10/11 09:31:57 uebayasi Exp $
+# $NetBSD: Makefile,v 1.18 2008/10/13 08:07:02 uebayasi Exp $
#
DISTNAME= lookup-1.4.1
@@ -15,6 +15,7 @@
DEPENDS+= eblook>=1.4:../../textproc/eblook
EMACS_VERSIONS_ACCEPTED= emacs22 emacs22nox emacs21 emacs21nox emacs20 xemacs214 xemacs215
+EMACS_BUILDLINK=# defined
GNU_CONFIGURE= YES
MAKEFLAGS+= lispdir=${EMACS_LISPPREFIX}/lookup
diff -r 4aa86502fc15 -r e69c756f075e www/emacs-w3m/Makefile
--- a/www/emacs-w3m/Makefile Mon Oct 13 06:03:52 2008 +0000
+++ b/www/emacs-w3m/Makefile Mon Oct 13 08:07:02 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2008/10/11 09:31:58 uebayasi Exp $
+# $NetBSD: Makefile,v 1.24 2008/10/13 08:07:02 uebayasi Exp $
DISTNAME= emacs-w3m-1.4.4
PKGREVISION= 1
@@ -31,6 +31,8 @@
SUBST_SED.fix-icondir= -e 's|etc/images/w3m|etc/w3m|g' \
-e 's|images/w3m|w3m|g'
+EMACS_BUILDLINK=# defined
+
.include "../../editors/emacs/modules.mk"
# GNU Emacs 21 or later and XEmacs have GUI support
Home |
Main Index |
Thread Index |
Old Index