diff options
author | jlam <jlam> | 2003-03-14 19:37:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-03-14 19:37:30 +0000 |
commit | a771eb7968c94f0addf4db20c476555536382e51 (patch) | |
tree | 4ee2e06249d68477cf3fb68be1f095453bcec90d /lang/python22 | |
parent | f11a46ae0626751873aec65de2e0341f70f610e7 (diff) | |
download | pkgsrc-a771eb7968c94f0addf4db20c476555536382e51.tar.gz |
(1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
worse.
(2) Create a new variable FIX_RPATH that lists variables that should
be cleansed of -R or -rpath values if ${_USE_RPATH} is "no". By
default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
additional variables may be appended from package Makefiles.
Diffstat (limited to 'lang/python22')
-rw-r--r-- | lang/python22/buildlink2.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/python22/buildlink2.mk b/lang/python22/buildlink2.mk index 6d70bc5ecf0..bf8e64dfc25 100644 --- a/lang/python22/buildlink2.mk +++ b/lang/python22/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.10 2002/10/13 07:16:52 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.11 2003/03/14 19:37:46 jlam Exp $ .if !defined(PYTHON22_BUILDLINK2_MK) PYTHON22_BUILDLINK2_MK= # defined @@ -25,7 +25,8 @@ BUILDLINK_CPPFLAGS.python22+= \ -I${BUILDLINK_PREFIX.python22}/include/python2.2 BUILDLINK_LDFLAGS.python22+= \ -L${BUILDLINK_PREFIX.python22}/lib/python2.2/config \ - -Wl,-R${BUILDLINK_PREFIX.python22}/lib/python2.2/config + -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.python22}/lib/python2.2/config +FIX_RPATH+= BUILDLINK_LDFLAGS.python22 BUILDLINK_TARGETS+= python22-buildlink |