pkgsrc/graphics/gdchart/buildlink2.mk
jlam 7897826581 Now that we build a gdchart shared library, we should ensure that the
correct libraries (-lgd) are added to the link command to produce the
correct inter-library dependencies.  Bump the PKGREVISION of graphics/gd
to 3.
2003-01-24 12:41:17 +00:00

25 lines
729 B
Makefile

# $NetBSD: buildlink2.mk,v 1.4 2003/01/24 12:41:18 jlam Exp $
#
.if !defined(GDCHART_BUILDLINK2_MK)
GDCHART_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= gdchart
BUILDLINK_DEPENDS.gdchart?= gdchart>=0.10.1nb3
BUILDLINK_PKGSRCDIR.gdchart?= ../../graphics/gdchart
EVAL_PREFIX+= BUILDLINK_PREFIX.gdchart=gdchart
BUILDLINK_PREFIX.gdchart_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.gdchart+= include/gdchart.h
BUILDLINK_FILES.gdchart+= include/gdc.h
BUILDLINK_FILES.gdchart+= include/gdcpie.h
BUILDLINK_FILES.gdchart+= include/gifencode.h
BUILDLINK_FILES.gdchart+= lib/libgdchart.*
.include "../../graphics/gd/buildlink2.mk"
BUILDLINK_TARGETS+= gdchart-buildlink
gdchart-buildlink: _BUILDLINK_USE
.endif # GDCHART_BUILDLINK2_MK