work around brain damage

This commit is contained in:
espie 2011-11-07 15:39:50 +00:00
parent bc958fd5b8
commit 0bf789a9ca
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.56 2011/09/16 09:48:08 espie Exp $
# $OpenBSD: Makefile,v 1.57 2011/11/07 15:39:50 espie Exp $
COMMENT-main= GNU editor: extensible, customizable, self documenting
COMMENT-el= elisp sources for those who want to read/modify them
@ -38,6 +38,8 @@ FLAVOR?=
GCCARCH= ${MACHINE_ARCH}-unknown-openbsd${OSREV}
MODGNU_EMACS_YOURE_WEIRD = Oh yes
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS= ${GCCARCH} --with-pop
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
@ -51,7 +53,7 @@ SUBST_VARS= GCCARCH VERSION
WANTLIB-main= c m ncurses ossaudio
.if ${FLAVOR:L:Mno_x11}
.if ${FLAVOR:Mno_x11}
CONFIGURE_ARGS+= --with-x=no
.else
LIB_DEPENDS-main= graphics/libungif \

View File

@ -1,6 +1,6 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: gnu.port.mk,v 1.44 2011/11/07 14:23:09 espie Exp $
# $OpenBSD: gnu.port.mk,v 1.45 2011/11/07 15:39:50 espie Exp $
# Based on bsd.port.mk, originally by Jordan K. Hubbard.
# This file is in the public domain.
@ -38,7 +38,9 @@ CONFIG_SITE = ${PORTSDIR}/infrastructure/db/config.site
.endif
.if !empty(CONFIG_SITE)
CONFIGURE_ENV += CONFIG_SITE='${CONFIG_SITE}'
#MAKE_ENV += CONFIG_SITE='${CONFIG_SITE}'
. if !defined(MODGNU_EMACS_YOURE_WEIRD)
MAKE_ENV += CONFIG_SITE='${CONFIG_SITE}'
. endif
.endif
MODGNU_CONFIG_GUESS_DIRS ?=${WRKSRC}