summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2018-12-14 21:35:43 +0000
committerrillig <rillig@pkgsrc.org>2018-12-14 21:35:43 +0000
commit152860e92b15d18ffb2d77a2ad5fe5143d887f5f (patch)
tree9d09e6f91e2124a36c382a8ae491863f5a86d6ea
parent90faa41856251faf25bb9c8ae5f791a92873a5c4 (diff)
downloadpkgsrc-152860e92b15d18ffb2d77a2ad5fe5143d887f5f.tar.gz
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.
-rw-r--r--chat/xchat/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/chat/xchat/Makefile b/chat/xchat/Makefile
index b2b640816ee..10e2eb8721d 100644
--- a/chat/xchat/Makefile
+++ b/chat/xchat/Makefile
@@ -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"