Convert to buildlink3.
XXX This doesn't build with gcc3.
This commit is contained in:
parent
b3e82eb9df
commit
b5b03a1d17
2 changed files with 20 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2004/01/25 02:33:42 grantbeattie Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2004/04/12 02:43:56 blef Exp $
|
||||
# FreeBSD: ports/graphics/svgalib/Makefile,v 1.10 2003/03/07 06:04:12 ade Exp
|
||||
#
|
||||
|
||||
|
@ -11,6 +11,7 @@ HOMEPAGE= http://www.svgalib.org/
|
|||
COMMENT= Low level console graphics library
|
||||
|
||||
USE_GNU_TOOLS+= make
|
||||
USE_BUILDLINK3= yes
|
||||
CFLAGS+= -g -DUSE_LIBC_VM86
|
||||
MANCOMPRESSED= yes
|
||||
|
||||
|
|
18
svgalib/buildlink3.mk
Normal file
18
svgalib/buildlink3.mk
Normal file
|
@ -0,0 +1,18 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1 2004/04/12 02:43:56 blef Exp $
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
||||
SVGALIB_BUILDLINK3_MK:= ${SVGALIB_BUILDLINK3_MK}+
|
||||
|
||||
.if !empty(BUILDLINK_DEPTH:M+)
|
||||
BUILDLINK_DEPENDS+= svgalib
|
||||
.endif
|
||||
|
||||
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsvgalib}
|
||||
BUILDLINK_PACKAGES+= svgalib
|
||||
|
||||
.if !empty(SVGALIB_BUILDLINK3_MK:M+)
|
||||
BUILDLINK_DEPENDS.svgalib+= svgalib>=1.4.2
|
||||
BUILDLINK_PKGSRCDIR.svgalib?= ../../wip/svgalib
|
||||
.endif # SVGALIB_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|
Loading…
Reference in a new issue