pkgsrc/audio/faad2/buildlink3.mk
ben 2923403c64 This change addresses PR#31443
Copy config.h to faad2-config.h.  Modify systems.h to refer to
faad2-config.h, and install faad2-config.h.  This situation is
discussed here:
http://lists.gnu.org/archive/html/automake/2000-10/msg00114.html

Remove the undef of PACKAGE and VERSION, and add a 3rd non-empty
argument to AM_INIT_AUTOMAKE.  This situation is discussed here:
http://lists.gnu.org/archive/html/automake/2000-10/msg00108.html

Modify the condition from HAVE_GLIB_H to __G_LIB_H__, which was
easier because faad2 doesn't depend on glib.

Bump pkgrevision.
2005-10-09 03:23:11 +00:00

19 lines
529 B
Makefile

# $NetBSD: buildlink3.mk,v 1.6 2005/10/09 03:23:11 ben Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FAAD2_BUILDLINK3_MK:= ${FAAD2_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= faad2
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfaad2}
BUILDLINK_PACKAGES+= faad2
.if !empty(FAAD2_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.faad2+= faad2>=2.0nb3
BUILDLINK_PKGSRCDIR.faad2?= ../../audio/faad2
BUILDLINK_INCDIRS.faad2?= include/faad2
.endif # FAAD2_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}