MODULES=gnu can be used to access MODGNU_AUTOCONF_DEPENDS without entering
into CONFIGURE_STYLE issues. ok naddy, pval
This commit is contained in:
parent
235cd5c889
commit
c138118a37
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2003/02/16 15:17:58 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2003/02/27 19:27:01 espie Exp $
|
||||
|
||||
COMMENT= "GNU development tools"
|
||||
|
||||
@ -19,6 +19,7 @@ AUTOCONF_VERSION= 2.13
|
||||
BUILD_DEPENDS= ::devel/automake \
|
||||
${MODGNU_AUTOCONF_DEPENDS}
|
||||
|
||||
MODULES= gnu
|
||||
CONFIGURE_STYLE= simple
|
||||
CONFIGURE_ARGS= --with-prefix=${PREFIX} \
|
||||
--disable-nls --disable-commonbfdlib
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2003/02/16 15:17:58 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2003/02/27 19:27:01 espie Exp $
|
||||
|
||||
COMMENT= "GNU development tools"
|
||||
|
||||
@ -19,6 +19,7 @@ AUTOCONF_VERSION= 2.13
|
||||
BUILD_DEPENDS= ::devel/automake \
|
||||
${MODGNU_AUTOCONF_DEPENDS}
|
||||
|
||||
MODULES= gnu
|
||||
CONFIGURE_STYLE= simple
|
||||
CONFIGURE_ARGS= --with-prefix=${PREFIX} \
|
||||
--disable-nls --disable-gdbtk --disable-commonbfdlib
|
||||
|
@ -1,6 +1,6 @@
|
||||
#-*- mode: Fundamental; tab-width: 4; -*-
|
||||
# ex:ts=4 sw=4 filetype=make:
|
||||
# $OpenBSD: gnu.port.mk,v 1.12 2003/02/15 19:59:35 espie Exp $
|
||||
# $OpenBSD: gnu.port.mk,v 1.13 2003/02/27 19:27:00 espie Exp $
|
||||
# Based on bsd.port.mk, originally by Jordan K. Hubbard.
|
||||
# This file is in the public domain.
|
||||
|
||||
@ -44,17 +44,19 @@ MODGNU_configure += chmod a+rx ${_d}/config.sub;
|
||||
.endfor
|
||||
MODGNU_configure += ${MODSIMPLE_configure}
|
||||
|
||||
.if ${CONFIGURE_STYLE:L:Mdest}
|
||||
CONFIGURE_ARGS+= --prefix='$${${DESTDIRNAME}}${PREFIX}'
|
||||
.else
|
||||
CONFIGURE_ARGS+= --prefix='${PREFIX}'
|
||||
.endif
|
||||
|
||||
.if empty(CONFIGURE_STYLE:L:Mold)
|
||||
.if ${CONFIGURE_STYLE:L:Mgnu}
|
||||
. if ${CONFIGURE_STYLE:L:Mdest}
|
||||
CONFIGURE_ARGS+= --sysconfdir='$${${DESTDIRNAME}}${SYSCONFDIR}'
|
||||
CONFIGURE_ARGS+= --prefix='$${${DESTDIRNAME}}${PREFIX}'
|
||||
. else
|
||||
CONFIGURE_ARGS+= --prefix='${PREFIX}'
|
||||
. endif
|
||||
|
||||
. if empty(CONFIGURE_STYLE:L:Mold)
|
||||
. if ${CONFIGURE_STYLE:L:Mdest}
|
||||
CONFIGURE_ARGS+= --sysconfdir='$${${DESTDIRNAME}}${SYSCONFDIR}'
|
||||
. else
|
||||
CONFIGURE_ARGS+= --sysconfdir='${SYSCONFDIR}'
|
||||
. endif
|
||||
. endif
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user