diff options
author | jlam <jlam@pkgsrc.org> | 2002-09-22 10:06:00 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-09-22 10:06:00 +0000 |
commit | c37e7920b5d3a9ed88cebed69a68ed74487207b8 (patch) | |
tree | d8b74666f338f7ea651b29f1f6de33f9f7fb9d54 /graphics/ogle | |
parent | 3988cbdbc4291ccffb8b29a7e29847f365c02832 (diff) | |
download | pkgsrc-c37e7920b5d3a9ed88cebed69a68ed74487207b8.tar.gz |
Create new variables BUILDLINK_CPPFLAGS.<pkg> and BUILDLINK_LDFLAGS.<pkg>
that hold the compiler and linker flags used to find the headers and
libraries because these packages install them into non-standard places.
These variables may be used in package Makefiles by doing:
CPPFLAGS+= ${BUILDLINK_CPPFLAGS.<pkg>}
LDFLAGS+= ${BUILDLINK_LDFLAGS.<pkg>}
Diffstat (limited to 'graphics/ogle')
-rw-r--r-- | graphics/ogle/buildlink2.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/ogle/buildlink2.mk b/graphics/ogle/buildlink2.mk index f407c2b79d5..1758b4d1e97 100644 --- a/graphics/ogle/buildlink2.mk +++ b/graphics/ogle/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.1 2002/09/22 09:57:54 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.2 2002/09/22 10:06:00 jlam Exp $ .if !defined(OGLE_BUILDLINK2_MK) OGLE_BUILDLINK2_MK= # defined @@ -13,6 +13,9 @@ BUILDLINK_FILES.ogle= include/ogle/*.h BUILDLINK_FILES.ogle+= lib/ogle/libmsgevents.* BUILDLINK_FILES.ogle+= lib/ogle/libdvdcontrol.* +BUILDLINK_LDFLAGS.ogle= -L${BUILDLINK_PREFIX.ogle}/lib/ogle +BUILDLINK_LDFLAGS.ogle+= -Wl,-R${BUILDLINK_PREFIX.ogle}/lib/ogle + BUILDLINK_TARGETS+= ogle-buildlink ogle-buildlink: _BUILDLINK_USE |