pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/empty empty: Fix PKGMANDIR and remove libutil on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a097d51759b
branches:  trunk
changeset: 390038:2a097d51759b
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Dec 15 11:29:43 2022 +0000

description:
empty: Fix PKGMANDIR and remove libutil on SunOS.

diffstat:

 devel/empty/Makefile               |  4 +++-
 devel/empty/distinfo               |  4 ++--
 devel/empty/patches/patch-Makefile |  6 +++---
 3 files changed, 8 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r e1078d7dda5a -r 2a097d51759b devel/empty/Makefile
--- a/devel/empty/Makefile      Thu Dec 15 11:25:37 2022 +0000
+++ b/devel/empty/Makefile      Thu Dec 15 11:29:43 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/03/20 11:57:26 nia Exp $
+# $NetBSD: Makefile,v 1.3 2022/12/15 11:29:43 jperkin Exp $
 
 DISTNAME=      empty-0.6.20b
 CATEGORIES=    devel
@@ -10,4 +10,6 @@
 COMMENT=       Simple replacement for expect
 LICENSE=       modified-bsd
 
+BUILDLINK_TRANSFORM.SunOS+=    rm:-lutil
+
 .include "../../mk/bsd.pkg.mk"
diff -r e1078d7dda5a -r 2a097d51759b devel/empty/distinfo
--- a/devel/empty/distinfo      Thu Dec 15 11:25:37 2022 +0000
+++ b/devel/empty/distinfo      Thu Dec 15 11:29:43 2022 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:14:36 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/12/15 11:29:43 jperkin Exp $
 
 BLAKE2s (empty-0.6.20b.tgz) = 34e816e80ddeac9cd968c0ae6ffe61df8c8960466f20283c18a94b52888c926d
 SHA512 (empty-0.6.20b.tgz) = bdeda29ecde0bc7ee0432656f0497154e04dbad26aba62a0fe76ded394ddeefe2bfd921594a2dae44459b62ab4767d3b12a7a86216dfda56b6d77035a8b05c3d
 Size (empty-0.6.20b.tgz) = 16269 bytes
-SHA1 (patch-Makefile) = c15f37504340e500e9fad8755029ad3773c43ed4
+SHA1 (patch-Makefile) = 2bcb16a4b76eeec5de790c70a5cfb013fbd895e3
diff -r e1078d7dda5a -r 2a097d51759b devel/empty/patches/patch-Makefile
--- a/devel/empty/patches/patch-Makefile        Thu Dec 15 11:25:37 2022 +0000
+++ b/devel/empty/patches/patch-Makefile        Thu Dec 15 11:29:43 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-Makefile,v 1.1 2019/02/16 16:34:09 bsiegert Exp $
+$NetBSD: patch-Makefile,v 1.2 2022/12/15 11:29:43 jperkin Exp $
 
 Do not set PREFIX to allow unprivileged use, and respect DESTDIR.
 
@@ -20,12 +20,12 @@
 -      [ -d ${PREFIX}/bin ] && cp empty ${PREFIX}/bin || mkdir -p ${PREFIX}/bin && cp empty ${PREFIX}/bin
 -      [ -d ${PREFIX}/man/man1 ] && cp empty.1 ${PREFIX}/man/man1 || mkdir -p ${PREFIX}/man/man1 && cp empty.1 ${PREFIX}/man/man1
 +      [ -d ${DESTDIR}${PREFIX}/bin ] && cp empty ${DESTDIR}${PREFIX}/bin || mkdir -p ${DESTDIR}${PREFIX}/bin && cp empty ${DESTDIR}${PREFIX}/bin
-+      [ -d ${DESTDIR}${PREFIX}/man/man1 ] && cp empty.1 ${DESTDIR}${PREFIX}/man/man1 || mkdir -p ${DESTDIR}${PREFIX}/man/man1 && cp empty.1 ${DESTDIR}${PREFIX}/man/man1
++      [ -d ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 ] && cp empty.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 || mkdir -p ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && cp empty.1 
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
  deinstall:
 -      rm ${PREFIX}/bin/empty
 -      rm ${PREFIX}/man/man1/empty.1
 +      rm ${DESTDIR}${PREFIX}/bin/empty
-+      rm ${DESTDIR}${PREFIX}/man/man1/empty.1
++      rm ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/empty.1
  uninstall:    deinstall
  
  clean:



Home | Main Index | Thread Index | Old Index