head 1.39; access; symbols pkgsrc-2023Q4:1.39.0.4 pkgsrc-2023Q4-base:1.39 pkgsrc-2023Q3:1.39.0.2 pkgsrc-2023Q3-base:1.39 pkgsrc-2023Q2:1.38.0.14 pkgsrc-2023Q2-base:1.38 pkgsrc-2023Q1:1.38.0.12 pkgsrc-2023Q1-base:1.38 pkgsrc-2022Q4:1.38.0.10 pkgsrc-2022Q4-base:1.38 pkgsrc-2022Q3:1.38.0.8 pkgsrc-2022Q3-base:1.38 pkgsrc-2022Q2:1.38.0.6 pkgsrc-2022Q2-base:1.38 pkgsrc-2022Q1:1.38.0.4 pkgsrc-2022Q1-base:1.38 pkgsrc-2021Q4:1.38.0.2 pkgsrc-2021Q4-base:1.38 pkgsrc-2021Q3:1.36.0.6 pkgsrc-2021Q3-base:1.36 pkgsrc-2021Q2:1.36.0.4 pkgsrc-2021Q2-base:1.36 pkgsrc-2021Q1:1.36.0.2 pkgsrc-2021Q1-base:1.36 pkgsrc-2020Q4:1.35.0.4 pkgsrc-2020Q4-base:1.35 pkgsrc-2020Q3:1.35.0.2 pkgsrc-2020Q3-base:1.35 pkgsrc-2020Q2:1.34.0.4 pkgsrc-2020Q2-base:1.34 pkgsrc-2020Q1:1.34.0.2 pkgsrc-2020Q1-base:1.34 pkgsrc-2019Q4:1.33.0.4 pkgsrc-2019Q4-base:1.33 pkgsrc-2019Q3:1.30.0.2 pkgsrc-2019Q3-base:1.30 pkgsrc-2019Q2:1.29.0.2 pkgsrc-2019Q2-base:1.29 pkgsrc-2019Q1:1.28.0.10 pkgsrc-2019Q1-base:1.28 pkgsrc-2018Q4:1.28.0.8 pkgsrc-2018Q4-base:1.28 pkgsrc-2018Q3:1.28.0.6 pkgsrc-2018Q3-base:1.28 pkgsrc-2018Q2:1.28.0.4 pkgsrc-2018Q2-base:1.28 pkgsrc-2018Q1:1.28.0.2 pkgsrc-2018Q1-base:1.28 pkgsrc-2017Q4:1.26.0.6 pkgsrc-2017Q4-base:1.26 pkgsrc-2017Q3:1.26.0.4 pkgsrc-2017Q3-base:1.26 pkgsrc-2017Q2:1.24.0.2 pkgsrc-2017Q2-base:1.24 pkgsrc-2017Q1:1.23.0.2 pkgsrc-2017Q1-base:1.23 pkgsrc-2013Q2:1.21.0.18 pkgsrc-2013Q2-base:1.21 pkgsrc-2012Q4:1.21.0.16 pkgsrc-2012Q4-base:1.21 pkgsrc-2011Q4:1.21.0.14 pkgsrc-2011Q4-base:1.21 pkgsrc-2011Q2:1.21.0.12 pkgsrc-2011Q2-base:1.21 pkgsrc-2009Q4:1.21.0.10 pkgsrc-2009Q4-base:1.21 pkgsrc-2008Q4:1.21.0.8 pkgsrc-2008Q4-base:1.21 pkgsrc-2008Q3:1.21.0.6 pkgsrc-2008Q3-base:1.21 cube-native-xorg:1.21.0.4 cube-native-xorg-base:1.21 pkgsrc-2008Q2:1.21.0.2 pkgsrc-2008Q2-base:1.21 pkgsrc-2008Q1:1.19.0.8 pkgsrc-2008Q1-base:1.19 pkgsrc-2007Q4:1.19.0.6 pkgsrc-2007Q4-base:1.19 pkgsrc-2007Q3:1.19.0.4 pkgsrc-2007Q3-base:1.19 pkgsrc-2007Q2:1.19.0.2 pkgsrc-2007Q2-base:1.19 pkgsrc-2007Q1:1.18.0.2 pkgsrc-2007Q1-base:1.18 pkgsrc-2006Q4:1.17.0.2 pkgsrc-2006Q4-base:1.17 pkgsrc-2006Q3:1.16.0.2 pkgsrc-2006Q3-base:1.16 pkgsrc-2006Q2:1.15.0.4 pkgsrc-2006Q2-base:1.15 pkgsrc-2006Q1:1.15.0.2 pkgsrc-2006Q1-base:1.15 pkgsrc-2005Q4:1.13.0.2 pkgsrc-2005Q4-base:1.13 pkgsrc-2005Q3:1.11.0.2 pkgsrc-2005Q3-base:1.11 pkgsrc-2005Q2:1.10.0.2 pkgsrc-2005Q2-base:1.10 pkgsrc-2005Q1:1.8.0.2 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.5.0.2 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.4.0.4 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.2 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.1.0.2 pkgsrc-2004Q1-base:1.1; locks; strict; comment @# @; 1.39 date 2023.06.26.18.21.08; author hauke; state Exp; branches; next 1.38; commitid mDkO7fuHA7u0cuuE; 1.38 date 2021.10.03.17.53.11; author hauke; state Exp; branches; next 1.37; commitid 5XRDi4CJmFS0jobD; 1.37 date 2021.09.27.15.57.32; author nia; state Exp; branches; next 1.36; commitid h0oWPPuJwmyuSBaD; 1.36 date 2021.03.28.10.36.33; author hauke; state Exp; branches; next 1.35; commitid 0WcegYDRubhjY3NC; 1.35 date 2020.09.24.11.51.47; author hauke; state Exp; branches; next 1.34; commitid Ijg63fGFodWZkipC; 1.34 date 2020.01.26.17.31.08; author rillig; state Exp; branches; next 1.33; commitid 4fBBvoSLJaGd0eUB; 1.33 date 2019.10.11.14.42.48; author hauke; state Exp; branches; next 1.32; commitid N5vic0wV7IxpusGB; 1.32 date 2019.10.11.12.36.44; author hauke; state Exp; branches; next 1.31; commitid 16Dy8D0dI8VvNrGB; 1.31 date 2019.10.08.12.40.54; author hauke; state Exp; branches; next 1.30; commitid u2A8KRx4l59PV3GB; 1.30 date 2019.07.03.10.06.50; author hauke; state Exp; branches; next 1.29; commitid XaUCVWbh7wfrbAtB; 1.29 date 2019.06.08.10.41.00; author rillig; state Exp; branches; next 1.28; commitid mJ4shU8zNlXEbnqB; 1.28 date 2018.02.01.14.25.30; author hauke; state Exp; branches; next 1.27; commitid SvZlMLghWscUeapA; 1.27 date 2018.01.30.11.52.18; author hauke; state Exp; branches; next 1.26; commitid 0MdzCogtP8KEsToA; 1.26 date 2017.07.13.17.55.30; author hauke; state Exp; branches; next 1.25; commitid mq7DBDd1XHT4W5Zz; 1.25 date 2017.07.11.11.29.44; author hauke; state Exp; branches; next 1.24; commitid UbyOb0tAeFDsPNYz; 1.24 date 2017.06.12.09.34.12; author hauke; state Exp; branches; next 1.23; commitid w6snSUm86aI1a4Vz; 1.23 date 2017.01.24.20.31.14; author hauke; state Exp; branches; next 1.22; commitid ejSfgehjevXxfgDz; 1.22 date 2016.12.30.23.27.14; author wiz; state Exp; branches; next 1.21; commitid K9bU5XocwJYu24Az; 1.21 date 2008.04.24.15.32.15; author jlam; state dead; branches; next 1.20; 1.20 date 2008.04.12.22.43.00; author jlam; state Exp; branches; next 1.19; 1.19 date 2007.04.20.15.05.22; author joerg; state Exp; branches; next 1.18; 1.18 date 2007.02.15.14.27.48; author joerg; state Exp; branches 1.18.2.1; next 1.17; 1.17 date 2006.11.03.07.01.42; author wiz; state Exp; branches; next 1.16; 1.16 date 2006.07.07.01.31.42; author markd; state Exp; branches; next 1.15; 1.15 date 2006.03.20.18.21.29; author jlam; state Exp; branches; next 1.14; 1.14 date 2006.03.09.21.04.42; author jlam; state Exp; branches; next 1.13; 1.13 date 2005.12.05.23.55.06; author rillig; state Exp; branches; next 1.12; 1.12 date 2005.12.05.20.50.10; author rillig; state Exp; branches; next 1.11; 1.11 date 2005.07.15.18.27.49; author jlam; state Exp; branches; next 1.10; 1.10 date 2005.05.16.01.15.31; author jlam; state Exp; branches; next 1.9; 1.9 date 2005.04.11.21.45.42; author tv; state Exp; branches; next 1.8; 1.8 date 2005.03.03.16.16.03; author uebayasi; state Exp; branches; next 1.7; 1.7 date 2005.02.28.16.20.09; author uebayasi; state Exp; branches; next 1.6; 1.6 date 2005.01.31.00.10.12; author minskim; state Exp; branches; next 1.5; 1.5 date 2004.11.25.21.34.59; author xtraeme; state Exp; branches; next 1.4; 1.4 date 2004.05.02.00.23.40; author snj; state Exp; branches; next 1.3; 1.3 date 2004.04.21.20.50.41; author cube; state Exp; branches; next 1.2; 1.2 date 2004.04.12.15.14.55; author xtraeme; state Exp; branches; next 1.1; 1.1 date 2004.02.15.02.58.46; author minskim; state Exp; branches; next ; 1.18.2.1 date 2007.05.15.22.19.58; author salo; state Exp; branches; next ; desc @@ 1.39 log @Fix an old typo -- if an underscore in place of a dash has ever worked, it does not any more. @ text @# $NetBSD: Makefile.common,v 1.38 2021/10/03 17:53:11 hauke Exp $ # # used by editors/xemacs-nox11/Makefile # used by editors/xemacs/Makefile DISTNAME= xemacs-21.4.24 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_XEMACS:=${DISTNAME:C/[.][^.]*$//}/} MAINTAINER= hauke@@NetBSD.org HOMEPAGE= https://www.xemacs.org/ LICENSE= gnu-gpl-v2 MKPIE_SUPPORTED= no .include "../../mk/bsd.prefs.mk" FILESDIR= ${.CURDIR}/../../editors/xemacs/files PATCHDIR= ${.CURDIR}/../../editors/xemacs/patches DISTINFO_FILE= ${.CURDIR}/../../editors/xemacs/distinfo PLIST_SRC= ${.CURDIR}/../../editors/xemacs/PLIST USE_TOOLS+= patch gtar makeinfo perl HAS_CONFIGURE= yes DIST_SUBDIR= xemacs PLIST_SUBST+= DISTNAME=${DISTNAME} FILES_SUBST+= DISTNAME=${DISTNAME} MESSAGE_SUBST+= DISTNAME=${DISTNAME} INFO_FILES= yes .if defined(MANZ) PLIST_SUBST+= ELSUFX='.gz' .else PLIST_SUBST+= ELSUFX='' .endif CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM} CONFIGURE_ARGS+= --prefix=${PREFIX} CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}/man1 CONFIGURE_ARGS+= --infopath=${PREFIX}/${PKGINFODIR} CONFIGURE_ARGS+= --with-clash-detection CONFIGURE_ARGS+= --with-mule=yes CONFIGURE_ARGS+= --with-msw=no CONFIGURE_ARGS+= --with-postgresql=no CONFIGURE_ARGS+= --pdump CONFIGURE_ARGS+= --with-system-malloc CFLAGS+= -Dunix # Use terminfo on NetBSD-6 and newer. # We cannot use terminfo.*.mk as XEmacs enforces a link to termcap, # but this is fine for us. .if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && exists(/usr/include/term.h) CPPFLAGS+= -DTERMINFO .endif .if ${OPSYS} == "SunOS" . if !exists(/usr/demo/SOUND/libaudio.a) && \ !exists(/usr/demo/SOUND/lib/libaudio.a) CONFIGURE_ARGS+= --with-sound=none . endif .endif .if (${OPSYS} == "DragonFly") && exists(/usr/lib/crtn.o) CPPFLAGS+= -DDFLY_CRT_USRLIB .endif CHECK_WRKREF_SKIP= bin/xemacs* REPLACE_SH= etc/check_cygwin_setup.sh LIBDIR= ${PREFIX}/lib/${DISTNAME} ARCHLIBDIR= ${LIBDIR}/${MACHINE_GNU_PLATFORM} # The portable dumper creates a dump file with a build ID in its name GENERATE_PLIST+= ${ECHO} bin/${DISTNAME}-`${WRKSRC}/src/xemacs -sd`.dmp ; # This list overrides variables used in the source Makefiles at install # time to allow for ${DESTDIR}-style installation. This variables list # is pulled from the ``mkdir'' target of Makefile.in.in. # INSTALL_MAKE_FLAGS+= archlibdir=${DESTDIR}${ARCHLIBDIR} INSTALL_MAKE_FLAGS+= bindir=${DESTDIR}${PREFIX}/bin INSTALL_MAKE_FLAGS+= datadir=${DESTDIR}${PREFIX}/lib INSTALL_MAKE_FLAGS+= docdir=${DESTDIR}${ARCHLIBDIR} INSTALL_MAKE_FLAGS+= etcdir=${DESTDIR}${LIBDIR}/etc INSTALL_MAKE_FLAGS+= exec_prefix=${DESTDIR}${PREFIX} INSTALL_MAKE_FLAGS+= infodir=${DESTDIR}${LIBDIR}/info INSTALL_MAKE_FLAGS+= libdir=${DESTDIR}/lib INSTALL_MAKE_FLAGS+= lispdir=${DESTDIR}${LIBDIR}/lisp INSTALL_MAKE_FLAGS+= mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 INSTALL_MAKE_FLAGS+= moduledir=${DESTDIR}${ARCHLIBDIR}/modules INSTALL_MAKE_FLAGS+= pkgdir=${DESTDIR}${LIBDIR}/lisp INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} INSTALL_MAKE_FLAGS+= sitelispdir=${DESTDIR}${PREFIX}/lib/xemacs/site-lisp INSTALL_MAKE_FLAGS+= sitemoduledir=${DESTDIR}${PREFIX}/lib/xemacs/site-modules INSTALL_MAKE_FLAGS+= TAR=${TOOLS_PATH.gtar} post-extract: post-extract-x11 cp ${FILESDIR}/dragonfly.h ${WRKSRC}/src/s/ pre-build: rm -f ${WRKSRC}/etc/ctags.1.orig rm -f ${WRKSRC}/lisp/gui.el.orig post-install: post-install-x11 ${INSTALL_DATA} ${WRKSRC}/Installation ${DESTDIR}${LIBDIR}/etc/ .if defined(MANZ) find ${DESTDIR}${LIBDIR} -name "*.el" -type f -print | xargs ${GZIP_CMD} .endif .include "../../databases/gdbm/buildlink3.mk" .include "../../mk/oss.buildlink3.mk" .include "../../mk/termcap.buildlink3.mk" @ 1.38 log @For the sake of MKPIE, we need to .include Makefile.common before options.mk. Since Makefile.common now does not see the x11 option, we have to move all x11 related commands into options.mk. Within options, move .includes to the end for consistency. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.37 2021/09/27 15:57:32 nia Exp $ d61 1 a61 1 CONFIGURE_ARGS+= --with_sound=none @ 1.37 log @xemacs: not ready for MKPIE for the same reason as emacs (segfault during build) @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.36 2021/03/28 10:36:33 hauke Exp $ d100 1 a100 1 post-extract: a101 3 .if !empty(PKG_OPTIONS:Mx11) cp ${FILESDIR}/xemacs.desktop ${WRKSRC}/etc/ .endif d107 1 a107 1 post-install: a111 4 .if !empty(PKG_OPTIONS:Mx11) ${INSTALL_DATA} ${WRKSRC}/etc/xemacs.desktop \ ${DESTDIR}${PREFIX}/share/applications/ .endif @ 1.36 log @Use gtar instead of the base tar(1) in the xemacs* top-level Makefile because of a problem with NetBSD-current libarchive-as-tar, see bin/56080. Note this depencency is not a burden, since xemacs-packages requires gtar, anyway. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.35 2020/09/24 11:51:47 hauke Exp $ d14 2 @ 1.35 log @editors/xemacs{,-current} - Install an xemacs.desktop file, which makes XEmacs more easily available to X11 desktop applications. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.34 2020/01/26 17:31:08 rillig Exp $ d21 1 a21 1 USE_TOOLS+= patch makeinfo perl d96 2 @ 1.34 log @all: migrate homepages from http to https pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.33 2019/10/11 14:42:48 hauke Exp $ d98 3 d111 4 @ 1.33 log @Sorry, barked up the wrong tree. gtexinfo 6.7 appears to default to utf8, and error out on non-7bit ascii gremlins. Fixing those lets the texinfo files compile (with warnings) both with the NetBSD base makeinfo and the v6.7 pkgsrc one. OTOH, I don't have to remove the patches I forgot to add in the previous commit... @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.32 2019/10/11 12:36:44 hauke Exp $ d11 1 a11 1 HOMEPAGE= http://www.xemacs.org/ @ 1.32 log @This package patches the texinfo sources for use with NetBSD's makeinfo v4.8. The 6.7 update to devel/gtexinfo broke backwards compatibility more, so we pull out the patches and conditionally apply them on NetBSD, only. (Other candidates?) @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.31 2019/10/08 12:40:54 hauke Exp $ a30 5 # NetBSD ships with makeinfo v4 in base, and v6 format is not compatible MAKEINFO_4_PATCHES= patch-man_lispref_debugging.texi \ patch-man_xemacs_custom.texi \ patch-man_lispref_intro.texi a98 7 .if (${OPSYS} == "NetBSD") post-patch: .for xpatch in ${MAKEINFO_4_PATCHES} cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/${xpatch} .endfor .endif @ 1.31 log @Declare use of perl. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.30 2019/07/03 10:06:50 hauke Exp $ d21 1 a21 1 USE_TOOLS+= makeinfo perl d31 5 d104 7 @ 1.30 log @Explicitly disable postgresql support. We do not declare the dependency, and configure picks it up outside LOCALBASE on 'rich' base OS installations (read: Linuxen). If anyone seriously wanted to use postgresql from XEmacs, it would have to be made a proper option. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.29 2019/06/08 10:41:00 rillig Exp $ d21 1 a21 1 USE_TOOLS+= makeinfo @ 1.29 log @editors/*: let pkglint fix indentation and variable alignment pkglint -Wall -F -r editors Manually fixed the changes in editors/nedit since the "fixed" indentation was wrong. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.28 2018/02/01 14:25:30 hauke Exp $ d44 1 @ 1.28 log @Move PKGREVISION up from Makefile.common into the individual packages' Makefile. As wiz convincingly pointed out, differing dependencies may make for differing PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.27 2018/01/30 11:52:18 hauke Exp $ d26 3 a28 3 PLIST_SUBST+= DISTNAME=${DISTNAME:Q} FILES_SUBST+= DISTNAME=${DISTNAME:Q} MESSAGE_SUBST+= DISTNAME=${DISTNAME:Q} @ 1.27 log @The xemacs* package Makefiles are minimal, with all common information factored out to Makefile.common. This includes both upstream and pkgsrc specific.version information. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.26 2017/07/13 17:55:30 hauke Exp $ a6 1 PKGREVISION= 3 @ 1.26 log @wiz says we bump revision when binary packages change. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.25 2017/07/11 11:29:44 hauke Exp $ d7 1 a7 1 PKGREVISION= 2 d15 2 a37 2 .include "options.mk" @ 1.25 log @On Arch Linux, the XEmacs build breaks in src/gmalloc.c because extern declarations conflict with system headers. After patching this file, the build then hangs at ./xemacs -nd -batch -l /var/obj/pkgsrc/editors/xemacs/work/xemacs-21.4.24/src/../lisp/update-elc.el with the xemacs process spinning at 100% cpu. Upstream states that the XEmacs malloc has not been updated in a long time, and that it is safe to use the system malloc, so that's what we'll do. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.24 2017/06/12 09:34:12 hauke Exp $ d7 1 a7 1 PKGREVISION= 1 @ 1.24 log @Terminfo issue applies to FreeBSD, too. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.23 2017/01/24 20:31:14 hauke Exp $ d46 1 @ 1.23 log @Make sure make-annotation does exist before calling it. We cannot have buttons if it doesn't, but the file requester can still be used with enter and ctrl-g. Should mince, stomp on and squish PR pkg/51036 @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.22 2016/12/30 23:27:14 wiz Exp $ d51 1 a51 1 .if (${OPSYS} == "NetBSD") && exists(/usr/include/term.h) @ 1.22 log @Fix options framework abuse by xemacs-nox11/xemacs. Partially tested, xemacs-nox11 hangs during build with 99% CPU for me. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.116 2016/04/13 13:52:27 hauke Exp $ d7 1 a7 1 #PKGREVISION= 1 d100 1 @ 1.21 log @Restructure the following packages: editors/xemacs editors/xemacs-nox11 The latter is now just editors/xemacs built with a specific set of options. Changes include: + Add support for the following new options in options.mk: x11 Support X11 displays lucid Use Lucid widget set Also add commented out support for the following options for alternative widget sets: gtk GTK widgets motif Motif widgets xaw Athena widgets Note that USE_ATHENA, USE_GTK, and USE_MOTIF are legacy variables for the corresponding options. + Remove Makefile.common and move all logic into xemacs/Makefile and xemacs/options.mk. + Rename the "mule" PLIST variable to "canna", which more accurately reflects what is conditionally installed. + Include termcap.buildlink3.mk to properly deal with termcap/curses issues (xemacs needs termcap). Drop the --with-ncurses=no setting as the issue is handled by termcap.buildlink3.mk. + In xemacs/Makefile, we don't need separate EXTRACT_ONLY and EXTRA_FILES if we're actually going to extract all of those files all of the time. Just list them all in DISTFILES. + Be slightly more aware of ${X11_TYPE} == "modular" by not referring to ${X11BASE} in that case. + In patch-ak, directly substitute the local value of etcdir (``../etc/'') into src/Makefile.in.in. This allows for overriding etcdir via INSTALL_MAKE_FLAGS at install-time so that destdir-style installation will work. + Support DESTDIR installation by adding INSTALL_MAKE_FLAGS to override where files are installed during the install phase. + Honor PKGMANDIR. + Bump the PKGREVISION for xemacs and xemacs-nox11 to 4. Both packages now track and use the same PKGREVISION number. @ text @d1 4 a4 1 # $NetBSD: Makefile.common,v 1.20 2008/04/12 22:43:00 jlam Exp $ d6 2 a7 1 DISTNAME= xemacs-21.4.17 d9 1 a9 2 MASTER_SITES= ${MASTER_SITE_XEMACS:=xemacs-21.4/} DISTFILES= ${EXTRACT_ONLY} ${EXTRA_FILES} d11 1 d13 1 a13 1 COMMENT= XEmacs text editor version 21 d15 14 a28 1 CONFLICTS+= gnuserv-[0-9]* d30 5 a34 1 NOT_FOR_PLATFORM= *-*-mips* # fails purespace dumping d36 1 a36 1 USE_TOOLS+= gtar d38 9 a46 8 DIST_SUBDIR= xemacs EXTRA_FILES= ${DISTNAME}-elc.tar.gz ${DISTNAME}-info.tar.gz EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} PLIST_VARS+= x11 PLIST_SUBST+= DISTNAME=${DISTNAME:Q} FILES_SUBST+= DISTNAME=${DISTNAME:Q} MESSAGE_SUBST+= DISTNAME="${DISTNAME}" INFO_FILES= # PLIST d48 6 a53 43 .include "options.mk" # XXX GUI configuration is a mess... # #.if defined(USE_ATHENA) #WITH_DIALOGS= \ # --with-menubars=athena \ # --with-scrollbars=athena \ # --with-dialogs=athena \ # --with-widgets=athena \ # --with-athena=xaw \ # --with-xim=xlib #.include "../../mk/xaw.buildlink3.mk" #.elif defined(USE_MOTIF) #WITH_DIALOGS= \ # --with-menubars=motif \ # --with-scrollbars=motif \ # --with-dialogs=motif \ # --with-widgets=motif \ # --with-xim=motif #.include "../../mk/motif.buildlink3.mk" #.elif defined(USE_GTK) #WITH_DIALOGS= \ # --with-gtk \ # --with-menubars=yes \ # --with-scrollbars=yes \ # --with-dialogs=yes \ # --with-widgets=yes \ # --with-xim=yes #.include "../../x11/gtk/buildlink3.mk" #.else # XXX Default is "lucid". Due to the output of `configure --help', Lucid # widgets wrap Athena, so xaw.buildlink3.mk. WITH_DIALOGS= \ --with-toolbars=yes \ --with-menubars=lucid \ --with-scrollbars=lucid \ --with-dialogs=lucid \ --with-widgets=lucid \ --with-athena=xaw \ --with-xim=xlib .include "../../mk/xaw.buildlink3.mk" #.endif d56 2 a57 1 . if !exists(/usr/demo/SOUND/libaudio.a) && !exists(/usr/demo/SOUND/lib/libaudio.a) d62 2 a63 2 .if ${OPSYS} == "DragonFly" && exists(/usr/lib/crtbegin.o) CPPFLAGS+= -DDFLY_PRE_17_CRT d66 2 a67 5 .if defined(MANZ) PLIST_SUBST+= ELSUFX='.gz' .else PLIST_SUBST+= ELSUFX='' .endif d69 2 a70 2 .include "../../databases/gdbm/buildlink3.mk" .include "../../mk/oss.buildlink3.mk" d72 2 a73 1 INFOPATH= ${PREFIX}/${PKGINFODIR}:${X11BASE}/${PKGINFODIR}:${LOCALBASE}/${PKGINFODIR} d75 19 a93 15 HAS_CONFIGURE= YES CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM} CONFIGURE_ARGS+= --prefix=${PREFIX:Q} CONFIGURE_ARGS+= --with-clash-detection CONFIGURE_ARGS+= --with-mule=yes .if ${OPSYS} != "Linux" CONFIGURE_ARGS+= --with-ncurses=no .endif CONFIGURE_ARGS+= --with-msw=no CONFIGURE_ARGS+= ${WITH_DIALOGS} CONFIGURE_ARGS+= --infopath=${INFOPATH:Q} CFLAGS+= -Dunix CHECK_WRKREF_SKIP= bin/xemacs* d96 1 a96 4 @@for f in ${EXTRA_FILES}; do \ ${GTAR} xzCf ${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/$$f; \ done ${CP} ${FILESDIR}/dragonfly.h ${WRKSRC}/src/s/ d98 2 a99 2 post-patch: @@${RM} -f ${WRKSRC}/etc/ctags.1.orig d102 1 a102 2 ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/${DISTNAME} ${INSTALL_DATA_DIR} ${PREFIX}/lib/xemacs d104 1 a104 2 ${FIND} ${PREFIX}/lib/${DISTNAME} -name "*.el" -type f -print | \ ${XARGS} ${GZIP_CMD} d106 4 @ 1.20 log @Convert to use PLIST_VARS instead of manually passing "@@comment " through PLIST_SUBST to the plist module. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.19 2007/04/20 15:05:22 joerg Exp $ @ 1.19 log @Fix build on DragonFly 1.8+ @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.18 2007/02/15 14:27:48 joerg Exp $ d20 1 @ 1.18 log @Add DragonFly and modular Xorg support. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.17 2006/11/03 07:01:42 wiz Exp $ d75 4 @ 1.18.2.1 log @Pullup ticket 2075 - requested by joerg various DragonFly portability and modular X.org fixes Revisions pulled up: - pkgsrc/math/xfractint/Makefile 1.5 - pkgsrc/math/xfractint/distinfo 1.5 - pkgsrc/math/xfractint/patches/patch-ab 1.3 - pkgsrc/emulators/zsnes/distinfo 1.13 - pkgsrc/emulators/zsnes/patches/patch-aa 1.7 - pkgsrc/emulators/zsnes/patches/patch-af 1.3 - pkgsrc/games/xconq/Makefile 1.34 - pkgsrc/games/xconq/distinfo 1.10 - pkgsrc/games/xconq/patches/patch-ac 1.7 - pkgsrc/shells/zsh/Makefile.common 1.38 - pkgsrc/editors/ssam/distinfo 1.5 - pkgsrc/editors/ssam/patches/patch-ac 1.1 - pkgsrc/graphics/radiance/distinfo 1.9 - pkgsrc/graphics/radiance/patches/patch-au 1.1 - pkgsrc/graphics/radiance/patches/patch-av 1.1 - pkgsrc/graphics/radiance/patches/patch-aw 1.1 - pkgsrc/editors/xemacs/Makefile.common 1.19 - pkgsrc/editors/xemacs/files/dragonfly.h 1.2 Module Name: pkgsrc Committed By: joerg Date: Mon Apr 16 14:48:31 UTC 2007 Modified Files: pkgsrc/math/xfractint: Makefile distinfo Added Files: pkgsrc/math/xfractint/patches: patch-ab Log Message: Fix linkage. Bump revision. --- Module Name: pkgsrc Committed By: joerg Date: Mon Apr 16 16:06:32 UTC 2007 Modified Files: pkgsrc/emulators/zsnes: distinfo pkgsrc/emulators/zsnes/patches: patch-aa Added Files: pkgsrc/emulators/zsnes/patches: patch-af Log Message: Fix build on DragonrFly. --- Module Name: pkgsrc Committed By: joerg Date: Mon Apr 16 18:47:20 UTC 2007 Modified Files: pkgsrc/games/xconq: Makefile distinfo pkgsrc/games/xconq/patches: patch-ac Log Message: Fix linkage with modular Xorg. Bump revision. --- Module Name: pkgsrc Committed By: joerg Date: Mon Apr 16 19:01:28 UTC 2007 Modified Files: pkgsrc/shells/zsh: Makefile.common Log Message: Always build with tcsetpgrp support on DragonFly, makig zsh not depend on a control terminal during build. --- Module Name: pkgsrc Committed By: joerg Date: Wed Apr 18 18:18:24 UTC 2007 Modified Files: pkgsrc/editors/ssam: distinfo Added Files: pkgsrc/editors/ssam/patches: patch-ac Log Message: Rename setcontext to avoid conflicts with libc. --- Module Name: pkgsrc Committed By: joerg Date: Wed Apr 18 18:47:21 UTC 2007 Modified Files: pkgsrc/graphics/radiance: distinfo Added Files: pkgsrc/graphics/radiance/patches: patch-au patch-av patch-aw Log Message: Avoid conflict with libc symbol setcontext. --- Module Name: pkgsrc Committed By: joerg Date: Fri Apr 20 15:05:22 UTC 2007 Modified Files: pkgsrc/editors/xemacs: Makefile.common pkgsrc/editors/xemacs/files: dragonfly.h Log Message: Fix build on DragonFly 1.8+ @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.19 2007/04/20 15:05:22 joerg Exp $ a74 4 .if ${OPSYS} == "DragonFly" && exists(/usr/lib/crtbegin.o) CPPFLAGS+= -DDFLY_PRE_17_CRT .endif @ 1.17 log @CHECK_WRKREF_SKIP paths seem to relative to ${PREFIX} now, adapt. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.16 2006/07/07 01:31:42 markd Exp $ d106 1 @ 1.16 log @The package xemacs conflicts with is called gnuserv not gnuclient. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.15 2006/03/20 18:21:29 jlam Exp $ d100 1 a100 1 CHECK_WRKREF_SKIP= ${PREFIX}/bin/xemacs* @ 1.15 log @Fix xemacs packages to honor PKGINFODIR in the default INFOPATH when reading info files. Also strip the split info files from the PLIST as the plist module handles them automatically. Lastly, define INFO_FILES so that the pkginstall framework properly manages the "dir" info file database index in the xemacs info directory. Bump the PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.14 2006/03/09 21:04:42 jlam Exp $ d11 1 a11 1 CONFLICTS+= gnuclient-[0-9]* @ 1.14 log @Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk. Remove deprecated ossaudio.buildlink3.mk. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.13 2005/12/05 23:55:06 rillig Exp $ d21 1 d23 1 d84 1 a84 1 INFOPATH= ${PREFIX}/info:${X11BASE}/info:/usr/local/info d100 2 @ 1.13 log @Ran "pkglint --autofix", which corrected some of the quoting issues in CONFIGURE_ARGS. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.12 2005/12/05 20:50:10 rillig Exp $ d80 1 a80 1 .include "../../mk/ossaudio.buildlink3.mk" @ 1.12 log @Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.11 2005/07/15 18:27:49 jlam Exp $ d86 1 a86 1 CONFIGURE_ARGS+= --prefix=${PREFIX} d94 1 a94 1 CONFIGURE_ARGS+= --infopath="${INFOPATH}" @ 1.11 log @Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making PKGSRC_USE_TOOLS go away. There is now only a single USE_TOOLS variable that specifies all of the tools we need to build/run the package. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.10 2005/05/16 01:15:31 jlam Exp $ d20 1 a20 1 PLIST_SUBST+= DISTNAME="${DISTNAME}" @ 1.10 log @Note that gtar is required by the package. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.9 2005/04/11 21:45:42 tv Exp $ d15 1 a15 1 PKGSRC_USE_TOOLS+= gtar @ 1.9 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.8 2005/03/03 16:16:03 uebayasi Exp $ d15 1 @ 1.8 log @* Correct PLIST when !defined(PKG_OPTIONS.xemacs:Mcanna). * Move library/header path configurations from xemacs/Makefile.common to xemacs/Makefile and xemacs-nox11/Makefile. Don't add X-related paths for -nox11. Fix build failure reported by bulk builds. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.7 2005/02/28 16:20:09 uebayasi Exp $ a14 1 USE_BUILDLINK3= YES @ 1.7 log @Update xemacs to 21.4.17. Fix the movemail.c format string vulnerability. Other changes are mostly build & documentation fixes. In pkgsrc, pass ${LOCALBASE} and ${X11BASE} as the --site-includes / --sith-libraries / --site-runtime-libraries to configure more correctly. No visible change. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.6 2005/01/31 00:10:12 minskim Exp $ a94 3 CONFIGURE_ARGS+= --site-includes=${BUILDLINK_DIR}/include:${BUILDLINK_X11_DIR}/include:${WRKDIR} CONFIGURE_ARGS+= --site-libraries=${BUILDLINK_DIR}/lib:${BUILDLINK_X11_DIR} CONFIGURE_ARGS+= --site-runtime-libraries=${LOCALBASE}/lib:${X11BASE}/lib @ 1.6 log @xemacs and gnuserv have many common files in PLIST. Make them conflict. Bump PKGREVISIONs. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.5 2004/11/25 21:34:59 xtraeme Exp $ d3 1 a3 1 DISTNAME= xemacs-21.4.15 d95 3 a97 3 CONFIGURE_ARGS+= --site-includes=${BUILDLINK_DIR}/include:${WRKDIR} CONFIGURE_ARGS+= --site-libraries=${BUILDLINK_DIR}/lib CONFIGURE_ARGS+= --site-runtime-libraries=${PREFIX}/lib @ 1.5 log @Convert to use bsd.options.mk, the following options are available: ldap xface canna # XXX Support for the following variables will be removed after the # XXX pkgsrc-2004Q4 branch is released: # XXX # XXX USE_OPENLDAP # XXX USE_XFACE # XXX XEMACS_USE_CANNA @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.4 2004/05/02 00:23:40 snj Exp $ d11 2 @ 1.4 log @s/buildlink2/buildlink3/ in comments. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.3 2004/04/21 20:50:41 cube Exp $ a14 1 BUILD_DEFS+= USE_OPENLDAP USE_XFACE XEMACS_USE_CANNA d21 1 a21 1 .include "../../mk/bsd.prefs.mk" a70 21 .if defined(USE_OPENLDAP) && (${USE_OPENLDAP} == "YES") WITH_LDAP= --with-ldap . include "../../databases/openldap/buildlink3.mk" .else WITH_LDAP= --without-ldap .endif .if defined(USE_XFACE) && (${USE_XFACE} == "YES") WITH_XFACE= --with-xface . include "../../mail/faces/buildlink3.mk" .else WITH_XFACE= --without-xface .endif .if defined(XEMACS_USE_CANNA) && (${XEMACS_USE_CANNA} == "YES") . include "../../inputmethod/canna-lib/buildlink3.mk" WITH_CANNA= --with-canna .else WITH_CANNA= --without-canna .endif d91 1 a91 1 CONFIGURE_ARGS+= ${WITH_DIALOGS} ${WITH_LDAP} ${WITH_XFACE} ${WITH_CANNA} @ 1.3 log @USE_LDAP -> USE_OPENLDAP @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.2 2004/04/12 15:14:55 xtraeme Exp $ d34 1 a34 1 #.include "../../mk/xaw.buildlink2.mk" d42 1 a42 1 #.include "../../mk/motif.buildlink2.mk" @ 1.2 log @bl3ify @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.1 2004/02/15 02:58:46 minskim Exp $ d15 1 a15 1 BUILD_DEFS+= USE_LDAP USE_XFACE XEMACS_USE_CANNA d72 1 a72 1 .if defined(USE_LDAP) && (${USE_LDAP} == "YES") @ 1.1 log @Let xemacs and xemacs-nox11 share xemacs/Makefile.common. This synchornizes xemacs and xemace-nox11 again. @ text @d1 1 a1 1 # $NetBSD$ d13 1 a13 1 USE_BUILDLINK2= YES d51 1 a51 1 #.include "../../x11/gtk/buildlink2.mk" d54 1 a54 1 # widgets wrap Athena, so xaw.buildlink2.mk. d63 1 a63 1 .include "../../mk/xaw.buildlink2.mk" d74 1 a74 1 . include "../../databases/openldap/buildlink2.mk" d81 1 a81 1 . include "../../mail/faces/buildlink2.mk" d87 1 a87 1 . include "../../inputmethod/canna-lib/buildlink2.mk" d99 2 a100 2 .include "../../databases/gdbm/buildlink2.mk" .include "../../mk/ossaudio.buildlink2.mk" @