pkgsrc/misc/libcdio/Makefile
minskim c93f372427 Add a NetBSD-specific file (${FILESDIR}/_cdio_netbsd.c) only on
NetBSD; this file doesn't compile on other platforms, at least not on
Linux.
2004-05-11 05:08:03 +00:00

31 lines
820 B
Makefile

# $NetBSD: Makefile,v 1.10 2004/05/11 05:08:03 minskim Exp $
#
DISTNAME= libcdio-0.68
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GNU:=libcdio/}
MAINTAINER= drochner@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/libcdio/
COMMENT= CD-ROM access library
USE_BUILDLINK3= yes
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= libcdio.pc.in
PKGCONFIG_OVERRIDE+= libiso9660.pc.in
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-versioned-libs
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
# XXX we just replace the freebsd module so save patches
pre-patch:
${CP} ${FILESDIR}/_cdio_netbsd.c ${WRKSRC}/lib/_cdio_freebsd.c
.endif
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
.include "../../audio/libcddb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"