blob: bcf287bec6ab7b3492ca98d166e7ee73df8ee031 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# $NetBSD: Makefile.common,v 1.2 2007/11/13 04:07:42 dan Exp $
DISTNAME= xemacs-21.5.27
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_XEMACS:=xemacs-21.5/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.xemacs.org/
COMMENT= *BETA* XEmacs text editor version 21.5.27
CONFLICTS+= gnuclient-[0-9]*
DESCR_SRC= ${.CURDIR}/../../editors/xemacs-current/DESCR
PLIST_SRC= ${.CURDIR}/../../editors/xemacs-current/PLIST
DISTINFO_FILE= ${.CURDIR}/../../editors/xemacs-current/distinfo
FILESDIR= ${.CURDIR}/../../editors/xemacs-current/files
PATCHDIR= ${.CURDIR}/../../editors/xemacs-current/patches
EMACSVERSION= 21.5-b27
PLIST_SUBST+= EMACSVER=xemacs-${EMACSVERSION}
MESSAGE_SUBST+= EMACSVER=xemacs-${EMACSVERSION}
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
GCC_REQD+= 2.95.3
.endif
.include "../../editors/xemacs-current/options.mk"
.include "../../databases/gdbm/buildlink3.mk"
INFOPATH= ${PREFIX}/${PKGINFODIR}:${X11BASE}/${PKGINFODIR}:${LOCALBASE}/${PKGINFODIR}
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM}
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
CONFIGURE_ARGS+= --with-clash-detection
CONFIGURE_ARGS+= --with-mule=yes
CONFIGURE_ARGS+= --without-ncurses
CONFIGURE_ARGS+= --without-msw
CONFIGURE_ARGS+= ${WITH_WIDGETS}
CONFIGURE_ARGS+= --with-infopath=${INFOPATH:Q}
CONFIGURE_ARGS+= --with-site-includes=${PREFIX}/include:${WRKDIR}
CONFIGURE_ARGS+= --with-site-libraries=${PREFIX}/lib
CFLAGS+= -Dunix
# newer gcc has big trouble with aliasing otherwise - this should be fixed
# in the source, but untill then, use the big hammer here:
CFLAGS+= -fno-strict-aliasing
INFO_FILES= # PLIST
# build PATH in the dumped emacs is not a problem
CHECK_WRKREF_SKIP+= bin/xemacs
CHECK_WRKREF_SKIP+= bin/xemacs-${EMACSVERSION}
post-patch:
rm -f ${WRKSRC}/etc/ctags.1.orig
|