2015-03-24 Vin Shelton <acs@xemacs.org> * XEmacs 21.4.24 is released 2015-02-23 Vin Shelton <acs@xemacs.org> * configure.in: Add LIBOSSAUDIO as appropriate. Patch from netbsd via Hauke Fath. * configure: Rebuild. 2015-02-15 Vin Shelton <acs@xemacs.org> * configure.in: Additional netbsd platform definitions. * configure: Rebuild. I have used the opportunity for a bit of spring cleaning: o remove build restrictions for powerpc and mips (hacks.mk, Makefile) o drop the inactive X11 toolkit options - they were never used, and upstream does not support them for 21.4, anyway (options.mk) o add comments to patch files o upstream converted the texinfo files to v5 format. Patch the offenders to be v4 compatible
76 lines
2.1 KiB
Makefile
76 lines
2.1 KiB
Makefile
# $NetBSD: options.mk,v 1.12 2016/04/13 13:52:27 hauke Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.xemacs
|
|
PKG_SUPPORTED_OPTIONS= ldap xface canna x11 debug
|
|
|
|
PKG_SUGGESTED_OPTIONS= x11
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### Support drawing pretty X11 Lucid widgets
|
|
###
|
|
PLIST_VARS+= x11
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
|
. include "../../mk/jpeg.buildlink3.mk"
|
|
. include "../../graphics/png/buildlink3.mk"
|
|
. include "../../graphics/tiff/buildlink3.mk"
|
|
. include "../../x11/libXpm/buildlink3.mk"
|
|
. include "../../mk/xaw.buildlink3.mk"
|
|
. include "../../x11/xbitmaps/buildlink3.mk"
|
|
PLIST.x11= yes
|
|
CONFIGURE_ARGS+= --with-x
|
|
CONFIGURE_ARGS+= --with-jpeg
|
|
CONFIGURE_ARGS+= --with-png
|
|
CONFIGURE_ARGS+= --with-tiff
|
|
CONFIGURE_ARGS+= --with-xpm
|
|
CONFIGURE_ARGS+= --site-includes=${PREFIX}/include:${X11BASE}/include
|
|
CONFIGURE_ARGS+= --site-libraries=${PREFIX}/lib:${X11BASE}/lib
|
|
CONFIGURE_ARGS+= --site-runtime-libraries=${PREFIX}/lib:${X11BASE}/lib
|
|
# Lucid widgets
|
|
CONFIGURE_ARGS+= --with-toolbars=yes
|
|
CONFIGURE_ARGS+= --with-menubars=yes
|
|
CONFIGURE_ARGS+= --with-scrollbars=lucid
|
|
CONFIGURE_ARGS+= --with-dialogs=lucid
|
|
CONFIGURE_ARGS+= --with-widgets=lucid
|
|
CONFIGURE_ARGS+= --with-athena=xaw
|
|
CONFIGURE_ARGS+= --with-xim=xlib
|
|
.else
|
|
CONFIGURE_ARGS+= --without-x
|
|
CONFIGURE_ARGS+= --without-jpeg
|
|
CONFIGURE_ARGS+= --without-png
|
|
CONFIGURE_ARGS+= --without-tiff
|
|
CONFIGURE_ARGS+= --without-xpm
|
|
CONFIGURE_ARGS+= --site-includes=${PREFIX}/include
|
|
CONFIGURE_ARGS+= --site-libraries=${PREFIX}/lib
|
|
CONFIGURE_ARGS+= --site-runtime-libraries=${PREFIX}/lib
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mldap)
|
|
CONFIGURE_ARGS+= --with-ldap
|
|
. include "../../databases/openldap-client/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-ldap
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mxface)
|
|
CONFIGURE_ARGS+= --with-xface
|
|
. include "../../mail/faces/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-xface
|
|
.endif
|
|
|
|
PLIST_VARS+= canna
|
|
.if !empty(PKG_OPTIONS:Mcanna)
|
|
. include "../../inputmethod/canna-lib/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-canna
|
|
PLIST.canna= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --without-canna
|
|
.endif
|
|
|
|
PLIST_VARS+= debug
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
CFLAGS+= -g3
|
|
INSTALL_UNSTRIPPED= yes
|
|
.endif
|