pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/auctex Honour VARBASE for auctex spool directory.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7ea2081bd708
branches:  trunk
changeset: 397842:7ea2081bd708
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Thu Jul 04 15:06:06 2019 +0000

description:
Honour VARBASE for auctex spool directory.

diffstat:

 print/auctex/Makefile |  9 +++++++--
 print/auctex/PLIST    |  3 +--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (54 lines):

diff -r 0ccbfa1191c4 -r 7ea2081bd708 print/auctex/Makefile
--- a/print/auctex/Makefile     Thu Jul 04 14:44:15 2019 +0000
+++ b/print/auctex/Makefile     Thu Jul 04 15:06:06 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.43 2019/07/04 14:44:15 hauke Exp $
+# $NetBSD: Makefile,v 1.44 2019/07/04 15:06:06 hauke Exp $
 
 DISTNAME=              auctex-11.89
 PKGNAME=               ${EMACS_PKGNAME_PREFIX}${DISTNAME}
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            print
 MASTER_SITES=          ${MASTER_SITE_GNU:=auctex/}
 
@@ -16,6 +16,8 @@
 INSTALLATION_DIRS+=    ${EMACS_LISPPREFIX}
 INSTALLATION_DIRS+=    ${EMACS_LISPPREFIX}/auctex
 
+BUILD_DEFS+=           VARBASE
+
 EMACS_MODULES=         base
 
 USE_TOOLS+=            gmake
@@ -23,6 +25,7 @@
 
 CONFIGURE_ARGS+=       ${CONFIGURE_ARGS.${EMACS_FLAVOR}}
 CONFIGURE_ARGS+=       --disable-preview
+CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
 
 MAKEFLAGS+=            EMACS=${EMACS_BIN:Q}
 MESSAGE_SUBST+=                LISPDIR=${EMACS_LISPPREFIX:Q}
@@ -34,6 +37,8 @@
 CONFIGURE_ARGS.xemacs= --without-packagedir
 CONFIGURE_ARGS.xemacs+=        --with-lispdir=${EMACS_LISPPREFIX}
 
+MAKE_DIRS_PERMS+=      ${VARBASE}/auctex ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 1777
+
 .include "../../editors/emacs/modules.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r 0ccbfa1191c4 -r 7ea2081bd708 print/auctex/PLIST
--- a/print/auctex/PLIST        Thu Jul 04 14:44:15 2019 +0000
+++ b/print/auctex/PLIST        Thu Jul 04 15:06:06 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2016/08/20 12:27:32 mef Exp $
+@comment $NetBSD: PLIST,v 1.18 2019/07/04 15:06:06 hauke Exp $
 ${EMACS_INFOPREFIX}/auctex.info
 share/doc/auctex/tex-ref.pdf
 ${EMACS_LISPPREFIX}/auctex.el
@@ -477,4 +477,3 @@
 ${EMACS_LISPPREFIX}/auctex/toolbar-x.el
 ${EMACS_LISPPREFIX}/auctex/toolbar-x.elc
 ${EMACS_LISPPREFIX}/tex-site.el
-var/auctex/.nosearch



Home | Main Index | Thread Index | Old Index