diff options
author | tron <tron@pkgsrc.org> | 2002-04-05 07:57:16 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2002-04-05 07:57:16 +0000 |
commit | 84a9828cf18b6bc489851b08cc14198f0e742cbe (patch) | |
tree | 648e8f1953046f5e8c61873d6196a8f083792249 | |
parent | 1e9fc92b6e5f17430f24b74dee8e3160db25b7f4 (diff) | |
download | pkgsrc-84a9828cf18b6bc489851b08cc14198f0e742cbe.tar.gz |
Adapt buildlink glue code to this package. The previous version was a 1:1
copy of the buildlink glue code for the "ucd-snmp" package which didn't
work really.
-rw-r--r-- | net/net-snmp-current/buildlink.mk | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/net/net-snmp-current/buildlink.mk b/net/net-snmp-current/buildlink.mk index a17d1dee9a8..5c8aa885171 100644 --- a/net/net-snmp-current/buildlink.mk +++ b/net/net-snmp-current/buildlink.mk @@ -1,37 +1,36 @@ -# $NetBSD: buildlink.mk,v 1.1.1.1 2002/03/14 06:29:02 itojun Exp $ +# $NetBSD: buildlink.mk,v 1.2 2002/04/05 07:57:16 tron Exp $ # # This Makefile fragment is included by packages that use libraries from -# ucd-snmp. +# net-snmp. # # To use this Makefile fragment, simply: # -# (1) Optionally define BUILDLINK_DEPENDS.ucd-snmp to the dependency pattern -# for the version of ucd-snmp desired. +# (1) Optionally define BUILDLINK_DEPENDS.net-snmp to the dependency pattern +# for the version of net-snmp desired. # (2) Include this Makefile fragment in the package Makefile, # (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header # search path, and # (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search # path. -.if !defined(UCD_SNMP_BUILDLINK_MK) -UCD_SNMP_BUILDLINK_MK= # defined +.if !defined(NET_SNMP_BUILDLINK_MK) +NET_SNMP_BUILDLINK_MK= # defined .include "../../mk/bsd.buildlink.mk" -BUILDLINK_DEPENDS.ucd-snmp?= ucd-snmp>=4.2.3nb1 -DEPENDS+= ${BUILDLINK_DEPENDS.ucd-snmp}:../../net/ucd-snmp +BUILDLINK_DEPENDS.net-snmp?= net-snmp>=5.0.0.2 +DEPENDS+= ${BUILDLINK_DEPENDS.net-snmp}:../../net/net-snmp -EVAL_PREFIX+= BUILDLINK_PREFIX.ucd-snmp=ucd-snmp -BUILDLINK_PREFIX.ucd-snmp_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.ucd-snmp= include/ucd-snmp/* -BUILDLINK_FILES.ucd-snmp+= lib/libsnmp* -BUILDLINK_FILES.ucd-snmp+= lib/libucdagent* -BUILDLINK_FILES.ucd-snmp+= lib/libucdmibs* +EVAL_PREFIX+= BUILDLINK_PREFIX.net-snmp=net-snmp +BUILDLINK_PREFIX.net-snmp_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.net-snmp= include/net-snmp/* +BUILDLINK_FILES.net-snmp= include/ucd-snmp/* +BUILDLINK_FILES.net-snmp+= lib/libnetsnmp* -BUILDLINK_TARGETS.ucd-snmp= ucd-snmp-buildlink -BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.ucd-snmp} +BUILDLINK_TARGETS.net-snmp= net-snmp-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.net-snmp} -pre-configure: ${BUILDLINK_TARGETS.ucd-snmp} -ucd-snmp-buildlink: _BUILDLINK_USE +pre-configure: ${BUILDLINK_TARGETS.net-snmp} +net-snmp-buildlink: _BUILDLINK_USE -.endif # UCD_SNMP_BUILDLINK_MK +.endif # NET_SNMP_BUILDLINK_MK |