diff options
Diffstat (limited to 'ham')
-rw-r--r-- | ham/hamlib/Makefile | 6 | ||||
-rw-r--r-- | ham/hamlib/buildlink3.mk | 18 |
2 files changed, 21 insertions, 3 deletions
diff --git a/ham/hamlib/Makefile b/ham/hamlib/Makefile index d393c690a8d..307bd44d02d 100644 --- a/ham/hamlib/Makefile +++ b/ham/hamlib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2004/02/18 04:00:44 wulf Exp $ +# $NetBSD: Makefile,v 1.7 2004/03/11 07:17:47 jlam Exp $ # DISTNAME= hamlib-1.2.0 @@ -10,10 +10,10 @@ MAINTAINER= wulf@NetBSD.org HOMEPAGE= http://hamlib.sourceforge/net/ COMMENT= API for digital communications equipment +USE_BUILDLINK3= yes USE_GNU_TOOLS+= make GNU_CONFIGURE= yes USE_LIBTOOL= yes - -CONFIGURE_ENV+= CPP="${CPP}" +NO_EXPORT_CPP= yes .include "../../mk/bsd.pkg.mk" diff --git a/ham/hamlib/buildlink3.mk b/ham/hamlib/buildlink3.mk new file mode 100644 index 00000000000..b5eb9666934 --- /dev/null +++ b/ham/hamlib/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/03/11 07:17:47 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +HAMLIB_BUILDLINK3_MK:= ${HAMLIB_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= hamlib +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhamlib} +BUILDLINK_PACKAGES+= hamlib + +.if !empty(HAMLIB_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.hamlib+= hamlib>=1.1.4 +BUILDLINK_PKGSRCDIR.hamlib?= ../../ham/hamlib +.endif # HAMLIB_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |