diff options
author | tron <tron@pkgsrc.org> | 2004-04-15 10:41:14 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-04-15 10:41:14 +0000 |
commit | 2c23ae8afdf2fe65a36b7ec1e8ab538821605d89 (patch) | |
tree | abc7202e7f64008d16fdd37aa0fd829138f04aa7 /mail | |
parent | 56b1af4fccc3711bb5b7e2ec74d1617e63298f01 (diff) | |
download | pkgsrc-2c23ae8afdf2fe65a36b7ec1e8ab538821605d89.tar.gz |
Fix seriously broken buildlink2 script:
- incorrect path to the package source directory
- library missing from the file list
- no protection against multiple inclusion
Diffstat (limited to 'mail')
-rw-r--r-- | mail/libspf-alt/buildlink2.mk | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/mail/libspf-alt/buildlink2.mk b/mail/libspf-alt/buildlink2.mk index fe1bfe64464..3121de786bd 100644 --- a/mail/libspf-alt/buildlink2.mk +++ b/mail/libspf-alt/buildlink2.mk @@ -1,12 +1,28 @@ +# $NetBSD: buildlink2.mk,v 1.2 2004/04/15 10:41:14 tron Exp $ + +.if !defined(LIBSPF_ALT_BUILDLINK2_MK) +LIBSPF_ALT_BUILDLINK2_MK= # defined + BUILDLINK_PACKAGES+= libspf_alt -BUILDLINK_PKGBASE.libspf_alt= libspf_alt BUILDLINK_DEPENDS.libspf_alt?= libspf_alt>=0.4.0 -BUILDLINK_PKGSRCDIR.libspf_alt?=../../mail/libspf_alt +BUILDLINK_PKGSRCDIR.libspf_alt?= ../../mail/libspf-alt -EVAL_PREFIX+= BUILDLINK_PREFIX.libspf_alt=libspf_alt +EVAL_PREFIX+= BUILDLINK_PREFIX.libspf_alt=libspf_alt BUILDLINK_PREFIX.libspf_alt_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.libspf_alt= include/spf_alt/* +BUILDLINK_FILES.libspf_alt+= include/spf_alt/spf.h +BUILDLINK_FILES.libspf_alt+= include/spf_alt/spf_lib_version.h +BUILDLINK_FILES.libspf_alt+= include/spf_alt/spf_dns.h +BUILDLINK_FILES.libspf_alt+= include/spf_alt/spf_dns_cache.h +BUILDLINK_FILES.libspf_alt+= include/spf_alt/spf_dns_null.h +BUILDLINK_FILES.libspf_alt+= include/spf_alt/spf_dns_resolv.h +BUILDLINK_FILES.libspf_alt+= include/spf_alt/spf_dns_test.h +BUILDLINK_FILES.libspf_alt+= include/spf_alt/spf_dns_zone.h BUILDLINK_FILES.libspf_alt+= lib/libspf_alt.* -BUILDLINK_TARGETS+= libspf_alt-buildlink -libspf_alt-buildlink: _BUILDLINK_USE +.include "../../net/bind9/buildlink2.mk" + +BUILDLINK_TARGETS+= libspf_alt-buildlink + +libspf_alt-buildlink: _BUILDLINK_USE + +.endif # LIBSPF_ALT_BUILDLINK2_MK |