diff options
author | jlam <jlam> | 2001-07-02 05:33:56 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-07-02 05:33:56 +0000 |
commit | f41c1e81a391fd173b815099682809f2e0dab1b1 (patch) | |
tree | 19c7e2e29dc44e4223793c407ad72432c180403f /net/ORBit | |
parent | bad5795f77cbc8cc632d7753a8c5cf740811f9c4 (diff) | |
download | pkgsrc-f41c1e81a391fd173b815099682809f2e0dab1b1.tar.gz |
Allow overriding of *_CONFIG variables in a package Makefile when using
USE_BUILDLINK_ONLY.
Diffstat (limited to 'net/ORBit')
-rw-r--r-- | net/ORBit/buildlink.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/ORBit/buildlink.mk b/net/ORBit/buildlink.mk index 41576d23aeb..563b03a767a 100644 --- a/net/ORBit/buildlink.mk +++ b/net/ORBit/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.3 2001/07/01 22:59:27 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.4 2001/07/02 05:34:00 jlam Exp $ # # This Makefile fragment is included by packages that use ORBit. # @@ -52,8 +52,10 @@ BUILDLINK_CONFIG.orbit= ${LOCALBASE}/bin/orbit-config BUILDLINK_CONFIG_WRAPPER.orbit= ${BUILDLINK_DIR}/bin/orbit-config .if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) -CONFIGURE_ENV+= LIBIDL_CONFIG="${BUILDLINK_CONFIG_WRAPPER.libIDL}" -CONFIGURE_ENV+= ORBIT_CONFIG="${BUILDLINK_CONFIG_WRAPPER.orbit}" +LIBIDL_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.libIDL} +ORBIT_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.orbit} +CONFIGURE_ENV+= LIBIDL_CONFIG="${LIBIDL_CONFIG}" +CONFIGURE_ENV+= ORBIT_CONFIG="${ORBIT_CONFIG}" .endif pre-configure: ${BUILDLINK_TARGETS.ORBit} |