Summary: | editors/emacs-devel: broken plist and ".../site-lisp missing" when WITHOUT_GTK=YES is used | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Boris Samorodov <bsam> |
Component: | Individual Port(s) | Assignee: | Boris Samorodov <bsam> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Boris Samorodov
![]() ![]() Responsible Changed From-To: freebsd-ports-bugs->bsam Submitter has GNATS access State Changed From-To: open->feedback Awaiting maintainers feedback OK, I understand what's going on. 1. Upstream developers build and install documents based upon configure arguments (i.e. DOC-{EMACS_VER}.2 is builded and unstalled if one use WITHOUT_GTK=YES). The corresponding DOC2 for PLIST_SUB is introduced at Makefile and pkg-list. 2. {LOCALBASE}/emacs/site-lisp exists at /etc/mtree/BSD.local.dist since 1998, hence no need to get removeg it by the port. The correspondign line deletted from pkg-plist. And while I'm here: 3. Replace some @dirrmtry by @dirrm at pkg-plist since other ports which use those directories should be marked as CONFLICTS with the current one and the main goal to use @dirrmtry is to avoid building errors but not errors while administrative uninstalling/upgrading (which are natural at a working machine). Hence unnecessary @dirrmtry only mask (potential) building errors. Note for those who wish to test the patch at 4.x/5.x: the patch from PR/102906 should be applied as well. And here is the proposed patch: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/editors/emacs-devel/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- Makefile 2 Sep 2006 16:03:28 -0000 1.10 +++ Makefile 6 Sep 2006 06:10:31 -0000 @@ -59,6 +59,11 @@ MAN1= ctags.1 emacs.1 emacsclient.1 etags.1 PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${CONFIGURE_TARGET} +.if defined(WITHOUT_GTK) +PLIST_SUB+= DOC2="" +.else +PLIST_SUB+= DOC2="@comment " +.endif INFO= ada-mode autotype calc ccmode cl dired-x ebrowse ediff \ efaq eintr elisp emacs-mime emacs erc eshell eudc \ Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/editors/emacs-devel/pkg-plist,v retrieving revision 1.7 diff -u -r1.7 pkg-plist --- pkg-plist 2 Sep 2006 16:03:28 -0000 1.7 +++ pkg-plist 6 Sep 2006 06:10:32 -0000 @@ -24,6 +24,7 @@ %%DATADIR%%/%%EMACS_VER%%/etc/DEBUG %%DATADIR%%/%%EMACS_VER%%/etc/DISTRIB %%DATADIR%%/%%EMACS_VER%%/etc/DOC-%%EMACS_VER%%.1 +%%DOC2%%%%DATADIR%%/%%EMACS_VER%%/etc/DOC-%%EMACS_VER%%.2 %%DATADIR%%/%%EMACS_VER%%/etc/ERC-NEWS %%DATADIR%%/%%EMACS_VER%%/etc/ETAGS.EBNF %%DATADIR%%/%%EMACS_VER%%/etc/FTP @@ -2599,7 +2600,7 @@ var/games/emacs/tetris-scores @dirrm libexec/emacs/%%EMACS_VER%%/%%EMACS_ARCH%% @dirrm libexec/emacs/%%EMACS_VER%% -@dirrmtry libexec/emacs +@dirrm libexec/emacs @dirrm %%DATADIR%%/%%EMACS_VER%%/lisp/url @dirrm %%DATADIR%%/%%EMACS_VER%%/lisp/textmodes @dirrm %%DATADIR%%/%%EMACS_VER%%/lisp/term @@ -2635,9 +2636,8 @@ @dirrm %%DATADIR%%/%%EMACS_VER%%/etc/images @dirrm %%DATADIR%%/%%EMACS_VER%%/etc/e @dirrm %%DATADIR%%/%%EMACS_VER%%/etc -@dirrmtry %%DATADIR%%/%%EMACS_VER%%/site-lisp -@dirrmtry %%DATADIR%%/%%EMACS_VER%% -@dirrmtry %%DATADIR%%/site-lisp +@dirrm %%DATADIR%%/%%EMACS_VER%%/site-lisp +@dirrm %%DATADIR%%/%%EMACS_VER%% @dirrmtry var/games/emacs @dirrmtry var/games @dirrmtry var WBR -- bsam bsam 2006-09-23 23:26:26 UTC FreeBSD ports repository Modified files: editors/emacs-devel Makefile pkg-plist Removed files: editors/emacs-devel/files extrapatch-texinfo Log: - fix pkg-plist [1] o when WITHOUT_GTK=YES is used (add DOC2 variable to PLIST_SUB at Makefile and corresponding changes to pkg-plist); o change some @dirrmtry to @dirrm (for those directories which belongs to the port); o remove @dirrmrty for ${DATADIR}/emacs/site-lisp as it listed at BSD.local.dist. - fix make patch for 5.x and 4.x [2] (remove extrapatch if ${OSVERSION} < 600000 -- upsteam is already have it). PR: 102893 [1], 102906 [2] Submitted by: bsam (me) [1], [2] Approved by: keramida__at__ceid.upatras.gr (maintainer timeout 19 days) Revision Changes Path 1.11 +5 -4 ports/editors/emacs-devel/Makefile 1.2 +0 -42 ports/editors/emacs-devel/files/extrapatch-texinfo (dead) 1.8 +4 -4 ports/editors/emacs-devel/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" State Changed From-To: feedback->closed Committed, thanks! ;-) |