58985cab1b
(I'll kill this redundancy soon), add some patches from pkgsrc. This really needs testing on other architectures/platforms so we can decide which patches from audio/mpg123 are actually needed. Also, I *think* I used the right arguments for madvise(), but I'm not 100% sure ... This is definitely faster and more robust than 0.59r; for instance, It can decode two simultaneous 128kbps stereo streams on a 486DX/133. I could always use help extending the sun audio module for NetBSD, too--though it seems to work well enough for starters.
19 lines
565 B
Makefile
19 lines
565 B
Makefile
# $NetBSD: buildlink3.mk,v 1.2 2007/12/28 02:54:36 bsadewitz Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
MPG123_BUILDLINK3_MK:= ${MPG123_BUILDLINK3_MK}+
|
|
|
|
.if ${BUILDLINK_DEPTH} == "+"
|
|
BUILDLINK_DEPENDS+= mpg123
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmpg123}
|
|
BUILDLINK_PACKAGES+= mpg123
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mpg123
|
|
|
|
.if ${MPG123_BUILDLINK3_MK} == "+"
|
|
BUILDLINK_API_DEPENDS.mpg123+= mpg123>=1.0.0
|
|
BUILDLINK_PKGSRCDIR.mpg123?= ../../wip/mpg123
|
|
.endif # MPG123_BUILDLINK3_MK
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|