diff options
author | cjep <cjep@pkgsrc.org> | 2007-12-30 16:24:54 +0000 |
---|---|---|
committer | cjep <cjep@pkgsrc.org> | 2007-12-30 16:24:54 +0000 |
commit | 5c4b905f21e9c72959d4e710360a11cb0bcaa3a8 (patch) | |
tree | 8fc6aab057cbc4e2596b525bac306f44612d1547 /mail/mew | |
parent | 93f4cc59f072dbe2e5789eb476e604d8381138f0 (diff) | |
download | pkgsrc-5c4b905f21e9c72959d4e710360a11cb0bcaa3a8.tar.gz |
In the Lisp code, reference the correct directory for the icons.
Fixes PR#30530.
Diffstat (limited to 'mail/mew')
-rw-r--r-- | mail/mew/Makefile | 11 | ||||
-rw-r--r-- | mail/mew/distinfo | 3 | ||||
-rw-r--r-- | mail/mew/patches/patch-aa | 13 |
3 files changed, 24 insertions, 3 deletions
diff --git a/mail/mew/Makefile b/mail/mew/Makefile index 64eca5e46f5..2fdf404fc29 100644 --- a/mail/mew/Makefile +++ b/mail/mew/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.73 2007/02/20 12:41:53 uebayasi Exp $ +# $NetBSD: Makefile,v 1.74 2007/12/30 16:24:54 cjep Exp $ DISTNAME= mew-5.2 +PKGREVISION= 1 PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME} CATEGORIES= mail MASTER_SITES= http://www.mew.org/Release/ @@ -23,15 +24,21 @@ MEW_CONTRIB_DIR=${EMACS_LISPPREFIX}/mew/contrib MAKE_FLAGS+= prefix=${PREFIX:Q} MAKE_FLAGS+= EMACS=${EMACS_BIN:Q} MAKE_FLAGS+= elispdir=${EMACS_LISPPREFIX}/mew -MAKE_FLAGS+= etcdir=${PREFIX}/share/mew +MAKE_FLAGS+= etcdir=${EMACS_ETCPREFIX}/mew MAKE_FLAGS+= infodir=${EMACS_INFOPREFIX} MAKE_FLAGS+= mandir=${PREFIX:Q}/${PKGMANDIR:Q}/man1 +CONFIGURE_ARGS+= --with-etcdir=${EMACS_ETCPREFIX}/mew SUBST_CLASSES+= local SUBST_STAGE.local= post-configure SUBST_FILES.local= Makefile bin/configure info/Makefile SUBST_SED.local= -e 's|/usr/local|${PREFIX}|g' +post-configure: + ${MV} ${WRKSRC}/mew-key.el ${WRKSRC}/mew-key.el.1 + ${SED} -e 's|@ICONDIR@|${EMACS_ETCPREFIX}/mew|g' \ + ${WRKSRC}/mew-key.el.1 > ${WRKSRC}/mew-key.el + post-install: ${INSTALL_DATA_DIR} ${MEW_CONTRIB_DIR} ${INSTALL_DATA} ${WRKSRC}/contrib/* ${MEW_CONTRIB_DIR} diff --git a/mail/mew/distinfo b/mail/mew/distinfo index a9bdb1187c6..ad74d6033f2 100644 --- a/mail/mew/distinfo +++ b/mail/mew/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.33 2007/01/19 15:10:50 taca Exp $ +$NetBSD: distinfo,v 1.34 2007/12/30 16:24:54 cjep Exp $ SHA1 (mew-5.2.tar.gz) = dc9127bc1039e8d1d6840ff81755152c953d6bd0 RMD160 (mew-5.2.tar.gz) = 83ef3aa726b9e6763624c26d7f774598d134f274 Size (mew-5.2.tar.gz) = 969584 bytes +SHA1 (patch-aa) = 485a4ab13e9ed5befc8fc0bac8ae7226450a520d diff --git a/mail/mew/patches/patch-aa b/mail/mew/patches/patch-aa new file mode 100644 index 00000000000..76d50c9c19a --- /dev/null +++ b/mail/mew/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.5 2007/12/30 16:24:54 cjep Exp $ + +--- mew-key.el.orig 2007-01-04 06:49:11.000000000 +0000 ++++ mew-key.el +@@ -618,7 +618,7 @@ + (throw 'loop (expand-file-name "etc" (car path))) + (setq path (cdr path))))))) + +-(defvar mew-icon-directory (mew-which-mew-etc)) ++(defvar mew-icon-directory "@ICONDIR@") + + (defvar mew-icon-separate nil) + (defvar mew-icon-blank nil) |