pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/libcdio Add a NetBSD-specific file (${FILESDIR}/_...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a6fdb81c4e2c
branches: trunk
changeset: 475165:a6fdb81c4e2c
user: minskim <minskim%pkgsrc.org@localhost>
date: Tue May 11 05:08:03 2004 +0000
description:
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.
diffstat:
misc/libcdio/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 7bc4705687e3 -r a6fdb81c4e2c misc/libcdio/Makefile
--- a/misc/libcdio/Makefile Tue May 11 04:48:12 2004 +0000
+++ b/misc/libcdio/Makefile Tue May 11 05:08:03 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/05/11 04:47:50 minskim Exp $
+# $NetBSD: Makefile,v 1.10 2004/05/11 05:08:03 minskim Exp $
#
DISTNAME= libcdio-0.68
@@ -17,9 +17,13 @@
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"
Home |
Main Index |
Thread Index |
Old Index