pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/benchmarks/sysbench Fix building:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7ee648536e5d
branches:  trunk
changeset: 526454:7ee648536e5d
user:      rmind <rmind%pkgsrc.org@localhost>
date:      Sun Mar 11 01:37:56 2007 +0000

description:
Fix building:
 - Install manual.html as in default package's behaviour.
 - Remove do-install part as not nessecary.

diffstat:

 benchmarks/sysbench/PLIST      |   4 ++--
 benchmarks/sysbench/options.mk |  15 +--------------
 2 files changed, 3 insertions(+), 16 deletions(-)

diffs (39 lines):

diff -r 9002c20ed37e -r 7ee648536e5d benchmarks/sysbench/PLIST
--- a/benchmarks/sysbench/PLIST Sat Mar 10 20:56:10 2007 +0000
+++ b/benchmarks/sysbench/PLIST Sun Mar 11 01:37:56 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2007/03/06 21:53:56 rmind Exp $
+@comment $NetBSD: PLIST,v 1.3 2007/03/11 01:37:56 rmind Exp $
 bin/sysbench
-${DOC}share/doc/sysbench/manual.html
+share/doc/sysbench/manual.html
 @dirrm share/doc/sysbench
diff -r 9002c20ed37e -r 7ee648536e5d benchmarks/sysbench/options.mk
--- a/benchmarks/sysbench/options.mk    Sat Mar 10 20:56:10 2007 +0000
+++ b/benchmarks/sysbench/options.mk    Sun Mar 11 01:37:56 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2007/03/06 21:53:56 rmind Exp $
+# $NetBSD: options.mk,v 1.3 2007/03/11 01:37:56 rmind Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.sysbench
 PKG_SUPPORTED_OPTIONS+= mysql pgsql doc
@@ -20,19 +20,6 @@
 .endif
 
 .if !empty(PKG_OPTIONS:Mdoc)
-PLIST_SUBST+=  DOC=
 .  include "../../textproc/libxslt/buildlink3.mk"
 BUILD_DEPENDS+=        docbook-xsl-[0-9]*:../../textproc/docbook-xsl
-.else
-PLIST_SUBST+=  DOC="@comment "
 .endif
-
-do-install:
-.if !empty(PKG_OPTIONS:Mdoc)
-       ${PREFIX}/bin/xsltproc -o ${WRKSRC}/doc/manual.html \
-               ${PREFIX}/share/xsl/docbook/xhtml/docbook.xsl \
-               ${WRKSRC}/doc/manual.xml
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sysbench
-       ${INSTALL_DATA} ${WRKSRC}/doc/manual.xml \
-               ${PREFIX}/share/doc/sysbench
-.endif



Home | Main Index | Thread Index | Old Index