pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat If the package uses GNU_CONFIGURE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e2d85addedc1
branches:  trunk
changeset: 460694:e2d85addedc1
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Sep 02 22:19:03 2003 +0000

description:
If the package uses GNU_CONFIGURE, then automatically add the necessary
options to find the headers and libnbcompat.

diffstat:

 pkgtools/libnbcompat/buildlink2.mk |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 854cbd89cff0 -r e2d85addedc1 pkgtools/libnbcompat/buildlink2.mk
--- a/pkgtools/libnbcompat/buildlink2.mk        Tue Sep 02 22:14:51 2003 +0000
+++ b/pkgtools/libnbcompat/buildlink2.mk        Tue Sep 02 22:19:03 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.7 2003/09/02 22:14:51 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.8 2003/09/02 22:19:03 jlam Exp $
 
 .if !defined(LIBNBCOMPAT_BUILDLINK2_MK)
 LIBNBCOMPAT_BUILDLINK2_MK=     # defined
@@ -22,4 +22,10 @@
 
 libnbcompat-buildlink: _BUILDLINK_USE
 
+.if defined(GNU_CONFIGURE)
+CPPFLAGS+=     ${BUILDLINK_CPPFLAGS.libnbcompat}
+CFLAGS+=       ${BUILDLINK_CPPFLAGS.libnbcompat}
+LIBS+=         ${BUILDLINK_LDADD.libnbcompat}
+.endif
+
 .endif  # LIBNBCOMPAT_BUILDLINK2_MK



Home | Main Index | Thread Index | Old Index