allow USE_LIBTOOL to be set to 'gnu'; 'gnu' and 'yes' do the same for now.
ok espie
This commit is contained in:
parent
0217871b96
commit
191ff969ee
@ -1,6 +1,6 @@
|
||||
#-*- mode: Makefile; tab-width: 4; -*-
|
||||
# ex:ts=4 sw=4 filetype=make:
|
||||
# $OpenBSD: bsd.port.mk,v 1.971 2009/10/13 14:39:23 landry Exp $
|
||||
# $OpenBSD: bsd.port.mk,v 1.972 2009/10/14 13:01:03 steven Exp $
|
||||
# $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $
|
||||
# $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $
|
||||
#
|
||||
@ -320,9 +320,14 @@ MAKE_PROGRAM = ${MAKE}
|
||||
|
||||
USE_LIBTOOL ?= No
|
||||
_lt_libs =
|
||||
.if ${USE_LIBTOOL:L} == "yes"
|
||||
.if ${USE_LIBTOOL:L} != "no"
|
||||
. if ${USE_LIBTOOL:L} == "gnu"
|
||||
LIBTOOL ?= ${DEPBASE}/bin/libtool
|
||||
BUILD_DEPENDS += ::devel/libtool
|
||||
. else
|
||||
LIBTOOL ?= ${DEPBASE}/bin/libtool
|
||||
BUILD_DEPENDS += ::devel/libtool
|
||||
. endif
|
||||
CONFIGURE_ENV += LIBTOOL="${LIBTOOL} ${LIBTOOL_FLAGS}" ${_lt_libs}
|
||||
MAKE_ENV += LIBTOOL="${LIBTOOL} ${LIBTOOL_FLAGS}" ${_lt_libs}
|
||||
MAKE_FLAGS += LIBTOOL="${LIBTOOL} ${LIBTOOL_FLAGS}" ${_lt_libs}
|
||||
|
Loading…
Reference in New Issue
Block a user