From 946358e2fa88e308d84acdbf1ffecaa579390782 Mon Sep 17 00:00:00 2001 From: Mikhail Teterin Date: Thu, 28 Mar 2013 02:10:57 +0000 Subject: Invoke the scripts with an explicit sh -- because the files may not be executable (an artifact of a switch to svn?) While here, fix compiler warnings and turn on MAKE_JOBS_SAFE. --- deskutils/xmdiary/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'deskutils/xmdiary/Makefile') diff --git a/deskutils/xmdiary/Makefile b/deskutils/xmdiary/Makefile index 1fc520ca8be1..79118bc9bff6 100644 --- a/deskutils/xmdiary/Makefile +++ b/deskutils/xmdiary/Makefile @@ -20,12 +20,14 @@ USE_XORG= x11 xext xp xpm xt MAN1= xdaclunix.1 xdalarm.1 xdcustom.1 xddump.1 xdiary.1 xdinitdb.1 \ xdlight.1 xdnotify.1 xdprformat.1 xdremind.1 xdremove.1 \ xdrestore.1 +CFLAGS+= -Werror +MAKE_JOBS_SAFE= yes post-patch: @${ECHO_MSG} removing the "malloc.h" includes - ${SCRIPTDIR}/nomalloc $(WRKSRC) 2>&1 > /dev/zero + ${SH} ${SCRIPTDIR}/nomalloc $(WRKSRC) 2>&1 > /dev/zero @${ECHO_MSG} removing unnecessary DependTarget from Imakefile-s - ${SCRIPTDIR}/noextradepend $(WRKSRC) 2>&1 > /dev/zero + ${SH} ${SCRIPTDIR}/noextradepend $(WRKSRC) 2>&1 > /dev/zero ${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ -e 's|CcCmd gcc|CcCmd ${CC}|' '${WRKSRC}/XDiary.tmpl' -- cgit v1.2.3