pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/xchat



Module Name:    pkgsrc
Committed By:   rillig
Date:           Fri Dec 14 21:35:44 UTC 2018

Modified Files:
        pkgsrc/chat/xchat: Makefile

Log Message:
chat/xchat: fix YAGNI code for GCONF_SCHEMAS

The loop would not have worked with multiple GCONF_SCHEMAS anyway because
there was no semicolon at the end of the @.s.@ expansion. Since
INSTALL_DATA can handle multiple source arguments, there is no need to
use the complicated form.


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 pkgsrc/chat/xchat/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/xchat/Makefile
diff -u pkgsrc/chat/xchat/Makefile:1.108 pkgsrc/chat/xchat/Makefile:1.109
--- pkgsrc/chat/xchat/Makefile:1.108    Wed Nov 14 22:21:09 2018
+++ pkgsrc/chat/xchat/Makefile  Fri Dec 14 21:35:43 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.108 2018/11/14 22:21:09 kleink Exp $
+# $NetBSD: Makefile,v 1.109 2018/12/14 21:35:43 rillig Exp $
 
 .include "Makefile.common"
 
@@ -49,11 +49,9 @@ post-install:
                ${DESTDIR}${PREFIX}/include/xchat/
 
 .if !empty(PKG_OPTIONS:Mgnome)
-
        ${INSTALL_DATA_DIR} ${DESTDIR}${GCONF_SCHEMAS_DIR}
-# In case there're ever additional schema files, use ODE loop.
-       ${GCONF_SCHEMAS:@.s.@${INSTALL_DATA} ${WRKSRC}/src/common/dbus/${.s.} \
-               ${DESTDIR}${GCONF_SCHEMAS_DIR}/@}
+       cd ${WRKSRC}/src/common/dbus \
+       && ${INSTALL_DATA} ${GCONF_SCHEMAS} ${DESTDIR}${GCONF_SCHEMAS_DIR}/
 .endif
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index