summaryrefslogtreecommitdiff
path: root/emulators/p11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-04-12 19:49:26 +0000
committerjoerg <joerg@pkgsrc.org>2006-04-12 19:49:26 +0000
commit91e0866c294216a3b3fb142e77708daa266181b5 (patch)
treeedc7f5491bbabcbce8e6c00b6502f05b13e59644 /emulators/p11
parent934ea5fdfdf5cfe214ec018d1ae791913837469c (diff)
downloadpkgsrc-91e0866c294216a3b3fb142e77708daa266181b5.tar.gz
Some platforms have tap devices, so optionally include epp_tap
in the PLIST. Bump revision.
Diffstat (limited to 'emulators/p11')
-rw-r--r--emulators/p11/Makefile7
-rw-r--r--emulators/p11/PLIST3
2 files changed, 7 insertions, 3 deletions
diff --git a/emulators/p11/Makefile b/emulators/p11/Makefile
index a06672c5615..6c4b2a11d8d 100644
--- a/emulators/p11/Makefile
+++ b/emulators/p11/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2006/03/04 21:29:35 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2006/04/12 19:49:26 joerg Exp $
#
DISTNAME= p11-2.10a
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/cats/usr/harti/p11/
@@ -17,7 +17,10 @@ USE_TOOLS+= gmake
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "DragonFly"
+PLIST_SUBST+= HAS_TAP=
CONFIGURE_ENV+= ac_cv_epp_bpf=yes ac_cv_epp_tun=yes ac_cv_epp_tap=yes
+.else
+PLIST_SUBST+= HAS_TAP="@comment "
.endif
# override MAKEFLAGS in the build and install stages
diff --git a/emulators/p11/PLIST b/emulators/p11/PLIST
index ba1167708f4..4dd1995d4bd 100644
--- a/emulators/p11/PLIST
+++ b/emulators/p11/PLIST
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/16 16:09:22 agc Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/04/12 19:49:27 joerg Exp $
bin/p11
libexec/p11/epp_bpf
libexec/p11/epp_fifo
+${HAS_TAP}libexec/p11/epp_tap
libexec/p11/epp_tun
libexec/p11/fmt
libexec/p11/lp_file