summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-03-24 10:55:07 +0000
committerjperkin <jperkin@pkgsrc.org>2013-03-24 10:55:07 +0000
commitd57c44ec77e7b39806f3a795a0cc3a5fc33a7cce (patch)
tree20713d4cd6f81a0fff042ab833ddde43b0955f92 /x11
parent94fd4be53be415d3079d8345d1bf4e8e789dcdac (diff)
downloadpkgsrc-d57c44ec77e7b39806f3a795a0cc3a5fc33a7cce.tar.gz
Portability fixes.
Diffstat (limited to 'x11')
-rw-r--r--x11/deforaos-libdesktop/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/deforaos-libdesktop/Makefile b/x11/deforaos-libdesktop/Makefile
index a46a8ffaea4..3f4eec0202d 100644
--- a/x11/deforaos-libdesktop/Makefile
+++ b/x11/deforaos-libdesktop/Makefile
@@ -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 @@ USE_TOOLS+= pkg-config
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"