pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/deforaos-libdesktop Portability fixes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/55df857a3155
branches:  trunk
changeset: 616289:55df857a3155
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Sun Mar 24 10:55:07 2013 +0000

description:
Portability fixes.

diffstat:

 x11/deforaos-libdesktop/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 9cd11e93ffc5 -r 55df857a3155 x11/deforaos-libdesktop/Makefile
--- a/x11/deforaos-libdesktop/Makefile  Sun Mar 24 09:11:01 2013 +0000
+++ b/x11/deforaos-libdesktop/Makefile  Sun Mar 24 10:55:07 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2013/02/16 11:18:30 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2013/03/24 10:55:07 jperkin Exp $
 #
 
 DISTNAME=      libDesktop-0.0.8
@@ -17,6 +17,14 @@
 
 MAKE_FLAGS+=   DESTDIR=${DESTDIR}
 MAKE_FLAGS+=   PREFIX=${PREFIX}
+MAKE_FLAGS+=   INSTALL=${INSTALL}
+
+# Don't use non-portable ${INSTALL} arguments
+SUBST_CLASSES+=                nodashes
+SUBST_STAGE.nodashes=  pre-configure
+SUBST_FILES.nodashes=  include/Makefile include/Desktop/Makefile
+SUBST_FILES.nodashes+= src/Makefile
+SUBST_SED.nodashes=    -e '/INSTALL/s/ -- / /'
 
 .include "../../devel/deforaos-libsystem/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index