diff options
author | jlam <jlam> | 2000-09-01 20:42:55 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-09-01 20:42:55 +0000 |
commit | d93889af11e87f57c9976f90a31010da14ff553b (patch) | |
tree | fb0e4e71614bb8814ce5f447342cfc9d44d9e5f6 /graphics/cdlabelgen | |
parent | 79eb7d9d9a9e1f810730159f8a527a1bc593a2b4 (diff) | |
download | pkgsrc-d93889af11e87f57c9976f90a31010da14ff553b.tar.gz |
If superuser, then run perldoc with -U flag to allow execution.
Fixes pkg/10931 by Matthias Scheler <tron@lyssa.zhadum.de>.
Diffstat (limited to 'graphics/cdlabelgen')
-rw-r--r-- | graphics/cdlabelgen/files/patch-sum | 4 | ||||
-rw-r--r-- | graphics/cdlabelgen/patches/patch-ab | 15 |
2 files changed, 12 insertions, 7 deletions
diff --git a/graphics/cdlabelgen/files/patch-sum b/graphics/cdlabelgen/files/patch-sum index cc9a978421c..0b5fb8c3643 100644 --- a/graphics/cdlabelgen/files/patch-sum +++ b/graphics/cdlabelgen/files/patch-sum @@ -1,5 +1,5 @@ -$NetBSD: patch-sum,v 1.3 1999/08/08 01:26:52 mjl Exp $ +$NetBSD: patch-sum,v 1.4 2000/09/01 20:42:55 jlam Exp $ MD5 (patch-aa) = 1543c79cdabd615e8d1331f85ccbac5c -MD5 (patch-ab) = 49013123d842431dca91446430702ffe +MD5 (patch-ab) = be3bb1f68b78d48d55cbfd88b2567446 MD5 (patch-ac) = 8fefe409303e0399a8b97ca9aa49fb13 diff --git a/graphics/cdlabelgen/patches/patch-ab b/graphics/cdlabelgen/patches/patch-ab index f1ed8bf08d8..8ae1b267a38 100644 --- a/graphics/cdlabelgen/patches/patch-ab +++ b/graphics/cdlabelgen/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.2 1999/08/08 01:09:51 mjl Exp $ +$NetBSD: patch-ab,v 1.3 2000/09/01 20:42:56 jlam Exp $ ---- Makefile.orig Sun Aug 8 02:34:22 1999 -+++ Makefile Sun Aug 8 02:37:09 1999 -@@ -4,31 +4,29 @@ +--- Makefile.orig Sun Jul 4 18:44:37 1999 ++++ Makefile Fri Sep 1 16:34:47 2000 +@@ -4,31 +4,34 @@ # Where you want cdlabelgen and related files to be @@ -22,7 +22,12 @@ $NetBSD: patch-ab,v 1.2 1999/08/08 01:09:51 mjl Exp $ all: cdlabelgen + ${SED} s=@PREFIX@=${PREFIX}=g <cdlabelgen >cdlabelgen.new + ${MV} cdlabelgen.new cdlabelgen -+ ${PREFIX}/bin/perldoc cdlabelgen >cdlabelgen.0 ++ if [ `id -u` -eq 0 ]; then \ ++ perldoc_flags="-U"; \ ++ else \ ++ perldoc_flags=""; \ ++ fi; \ ++ ${LOCALBASE}/bin/perldoc $${perldoc_flags} cdlabelgen >cdlabelgen.0 ### install: |