pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/gtar-base Only create the rmt symlink if rmt...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd1b0ff0582f
branches:  trunk
changeset: 626110:dd1b0ff0582f
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Nov 01 12:47:39 2013 +0000

description:
Only create the rmt symlink if rmt is built.

diffstat:

 archivers/gtar-base/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 761db3783024 -r dd1b0ff0582f archivers/gtar-base/Makefile
--- a/archivers/gtar-base/Makefile      Fri Nov 01 12:22:32 2013 +0000
+++ b/archivers/gtar-base/Makefile      Fri Nov 01 12:47:39 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2012/12/31 00:25:56 sbd Exp $
+# $NetBSD: Makefile,v 1.79 2013/11/01 12:47:39 jperkin Exp $
 
 DISTNAME=      tar-1.26
 PKGNAME=       ${DISTNAME:S/tar/gtar-base/}
@@ -49,9 +49,12 @@
 CONFIGURE_ENV+=                gt_cv_func_gnugettext3_libintl=yes
 .endif
 
-SYMLINKS               = bin/gtar ${PKGGNUDIR}bin/tar \
-                       ${PKGMANDIR}/man1/gtar.1 ${PKGGNUDIR}${PKGMANDIR}/man1/tar.1 \
-                       libexec/grmt ${PKGGNUDIR}libexec/rmt
+SYMLINKS=              bin/gtar ${PKGGNUDIR}bin/tar \
+                       ${PKGMANDIR}/man1/gtar.1 ${PKGGNUDIR}${PKGMANDIR}/man1/tar.1
+
+.if defined(PLIST.rmt) && ${PLIST.rmt} == "yes"
+SYMLINKS+=             libexec/grmt ${PKGGNUDIR}libexec/rmt
+.endif
 
 post-install:
        ${INSTALL_MAN} ${FILESDIR}/gtar.1 \



Home | Main Index | Thread Index | Old Index