pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/rxvt Fix a build failure occuring when x11/rxvt is...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ce7229754b0
branches:  trunk
changeset: 770049:4ce7229754b0
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Nov 24 06:35:51 2021 +0000

description:
Fix a build failure occuring when x11/rxvt is already installed

It's presumably a leftover from pre-DESTDIR era. Also added a missing
LICENSE field.

diffstat:

 x11/rxvt/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 8731d49b96d6 -r 4ce7229754b0 x11/rxvt/Makefile
--- a/x11/rxvt/Makefile Wed Nov 24 01:10:48 2021 +0000
+++ b/x11/rxvt/Makefile Wed Nov 24 06:35:51 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2021/09/19 08:41:13 nia Exp $
+# $NetBSD: Makefile,v 1.65 2021/11/24 06:35:51 pho Exp $
 
 DISTNAME=              rxvt-2.7.10
 PKGREVISION=           9
@@ -8,6 +8,7 @@
 MAINTAINER=            gcw%rxvt.org@localhost
 HOMEPAGE=              https://sourceforge.net/projects/rxvt
 COMMENT=               Low memory usage xterm replacement that supports color
+LICENSE=               gnu-gpl-v2
 
 GNU_CONFIGURE=         YES
 
@@ -58,9 +59,7 @@
 INSTALLATION_DIRS=     lib/X11/app-defaults
 
 pre-install:
-       if [ ! -f ${PREFIX}/lib/X11/app-defaults/Rxvt ]; then \
-               ${INSTALL_DATA} ${FILESDIR}/Rxvt ${DESTDIR}${PREFIX}/lib/X11/app-defaults; \
-       fi
+       ${INSTALL_DATA} ${FILESDIR}/Rxvt ${DESTDIR}${PREFIX}/lib/X11/app-defaults
 
 .include "../../x11/libXpm/buildlink3.mk"
 .include "../../x11/libXt/buildlink3.mk"



Home | Main Index | Thread Index | Old Index