summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2011-12-18 10:09:02 +0000
committermarino <marino@pkgsrc.org>2011-12-18 10:09:02 +0000
commit82e1dd86866364dbea119faa0187d53267cb3ad5 (patch)
tree290cde758c768896b1e3f67a927d6096c989a396 /math
parentc3fed0a1e96204d72478d02cf53d1560e927f4ee (diff)
downloadpkgsrc-82e1dd86866364dbea119faa0187d53267cb3ad5.tar.gz
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.
Diffstat (limited to 'math')
-rw-r--r--math/dcdflib.c/Makefile8
-rw-r--r--math/dcdflib.c/PLIST4
2 files changed, 9 insertions, 3 deletions
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