+ reduce no_x11 depends to essentials
+ no more gmake + bump NEED_VERSION fix from shiva.brahma@inwind.it
This commit is contained in:
parent
dc2baddb8c
commit
35e51bb960
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2002/02/10 22:05:40 mark Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2002/03/12 09:03:42 mark Exp $
|
||||
# Original from A B <obsdfaq30@yahoo.com>
|
||||
|
||||
COMMENT= "GNU editor: extensible, customizable, self documenting"
|
||||
@ -6,7 +6,7 @@ COMMENT= "GNU editor: extensible, customizable, self documenting"
|
||||
VERSION= 21.1
|
||||
DISTNAME= emacs-${VERSION}
|
||||
CATEGORIES= editors
|
||||
NEED_VERSION= 1.504
|
||||
NEED_VERSION= 1.509
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= emacs
|
||||
|
||||
@ -19,7 +19,6 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
SUBST_VARS= GCCARCH VERSION
|
||||
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE= gnu dest
|
||||
CONFIGURE_ARGS+= ${GCCARCH}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
@ -39,69 +38,70 @@ M_ARCH= ${MACHINE_ARCH}
|
||||
GCCARCH= ${M_ARCH}-unknown-openbsd${OPSYS_VER}
|
||||
|
||||
.if ${FLAVOR:L:Mno_x11}
|
||||
CONFIGURE_ARGS+= --without-x
|
||||
CONFIGURE_ARGS+= --without-x --without-jpeg --without-png \
|
||||
--without-tiff --without-xim
|
||||
.else
|
||||
|
||||
USE_X11=Yes
|
||||
CONFIGURE_ARGS+= --with-x
|
||||
|
||||
. if ${FLAVOR:L:Mno_jpeg}
|
||||
.if ${FLAVOR:L:Mno_jpeg}
|
||||
CONFIGURE_ARGS+= --without-jpeg
|
||||
. endif
|
||||
.endif
|
||||
|
||||
. if ${FLAVOR:L:Mno_png}
|
||||
.if ${FLAVOR:L:Mno_png}
|
||||
CONFIGURE_ARGS+= --without-png
|
||||
. endif
|
||||
.endif
|
||||
|
||||
. if ${FLAVOR:L:Mno_tiff}
|
||||
.if ${FLAVOR:L:Mno_tiff}
|
||||
CONFIGURE_ARGS+= --without-tiff
|
||||
. endif
|
||||
.endif
|
||||
|
||||
. if ${FLAVOR:L:Mpop}
|
||||
.if ${FLAVOR:L:Mpop}
|
||||
CONFIGURE_ARGS+= --with-pop
|
||||
. endif
|
||||
.endif
|
||||
|
||||
. if ${FLAVOR:L:Mkerberos}
|
||||
.if ${FLAVOR:L:Mkerberos}
|
||||
CONFIGURE_ARGS+= --with-kerberos
|
||||
. endif
|
||||
.endif
|
||||
|
||||
. if ${FLAVOR:L:Mkerberos5}
|
||||
.if ${FLAVOR:L:Mkerberos5}
|
||||
CONFIGURE_ARGS+= --with-kerberos5
|
||||
. endif
|
||||
.endif
|
||||
|
||||
. if ${FLAVOR:L:Mhesiod}
|
||||
.if ${FLAVOR:L:Mhesiod}
|
||||
CONFIGURE_ARGS+= --with-hesiod
|
||||
. endif
|
||||
.endif
|
||||
|
||||
. if ${FLAVOR:L:Mathena}
|
||||
.if ${FLAVOR:L:Mathena}
|
||||
LIB_DEPENDS+= Xaw3d::x11/Xaw3d
|
||||
CONFIGURE_ARGS+= --with-x-toolkit=athena --with-toolkit-scroll-bars
|
||||
. elif ${FLAVOR:L:Mlucid}
|
||||
.elif ${FLAVOR:L:Mlucid}
|
||||
CONFIGURE_ARGS+= --with-x-toolkit=lucid --with-toolkit-scroll-bars
|
||||
. elif ${FLAVOR:L:Mmotif}
|
||||
.elif ${FLAVOR:L:Mmotif}
|
||||
USE_MOTIF=any
|
||||
CONFIGURE_ARGS+= --with-x-toolkit=motif --with-toolkit-scroll-bars
|
||||
. else
|
||||
.else
|
||||
CONFIGURE_ARGS+= --with-x-toolkit=no
|
||||
. endif
|
||||
.endif
|
||||
|
||||
. if ${FLAVOR:L:Mx11}
|
||||
.if ${FLAVOR:L:Mx11}
|
||||
|
||||
. if !${FLAVOR:L:Mno_jpeg}
|
||||
.if !${FLAVOR:L:Mno_jpeg}
|
||||
LIB_DEPENDS+= jpeg.62::graphics/jpeg
|
||||
CONFIGURE_ARGS+= --with-jpeg
|
||||
. endif
|
||||
.endif
|
||||
|
||||
. if !${FLAVOR:L:Mno_png}
|
||||
.if !${FLAVOR:L:Mno_png}
|
||||
LIB_DEPENDS+= png.2::graphics/png
|
||||
CONFIGURE_ARGS+= --with-png
|
||||
. endif
|
||||
.endif
|
||||
|
||||
. if !${FLAVOR:L:Mno_tiff}
|
||||
.if !${FLAVOR:L:Mno_tiff}
|
||||
LIB_DEPENDS+= tiff.35::graphics/tiff
|
||||
CONFIGURE_ARGS+= --with-tiff
|
||||
. endif
|
||||
. endif
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
|
||||
# Do NOT strip on install. We will strip those things that can be
|
||||
|
Loading…
Reference in New Issue
Block a user