From 82e1dd86866364dbea119faa0187d53267cb3ad5 Mon Sep 17 00:00:00 2001 From: marino Date: Sun, 18 Dec 2011 10:09:02 +0000 Subject: math/dcdflib.c: conditional PLIST for DragonFly DragonFly has not produced _p.a files in a long time. The PLIST to modified to exclude libdcdflib_c_p.a if build on DragonFly. --- math/dcdflib.c/Makefile | 8 +++++++- math/dcdflib.c/PLIST | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'math') diff --git a/math/dcdflib.c/Makefile b/math/dcdflib.c/Makefile index 157f9b44643..8dc34f2844a 100644 --- a/math/dcdflib.c/Makefile +++ b/math/dcdflib.c/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2011/03/17 20:51:55 zafer Exp $ +# $NetBSD: Makefile,v 1.21 2011/12/18 10:09:02 marino Exp $ DISTNAME= dcdflib.c-1.1 PKGREVISION= 1 @@ -17,6 +17,12 @@ MAKE_ENV+= LIBOWN=${LIBOWN:Q} LIBGRP=${LIBGRP:Q} PKG_DESTDIR_SUPPORT= user-destdir INSTALLATION_DIRS= include lib share/doc/dcdflib.c +.include "../../mk/bsd.prefs.mk" +PLIST_VARS+= plib +.if ${OPSYS} != "DragonFly" +PLIST.plib= yes +.endif + post-install: ${INSTALL_DATA} ${WRKSRC}/doc/dcdflib.h ${DESTDIR}${PREFIX}/include cd ${WRKSRC} && ${INSTALL_DATA} README doc/dcdflib.chs \ diff --git a/math/dcdflib.c/PLIST b/math/dcdflib.c/PLIST index 685ce9c937a..4630600de48 100644 --- a/math/dcdflib.c/PLIST +++ b/math/dcdflib.c/PLIST @@ -1,10 +1,10 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:05:42 joerg Exp $ +@comment $NetBSD: PLIST,v 1.3 2011/12/18 10:09:02 marino Exp $ include/dcdflib.h lib/libdcdflib_c.a lib/libdcdflib_c.so lib/libdcdflib_c.so.0 lib/libdcdflib_c.so.0.0 -lib/libdcdflib_c_p.a +${PLIST.plib}lib/libdcdflib_c_p.a lib/libdcdflib_c_pic.a share/doc/dcdflib.c/README share/doc/dcdflib.c/dcdflib.chs -- cgit v1.2.3