summaryrefslogtreecommitdiff
path: root/deskutils/xmdiary/Makefile
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2013-03-28 02:10:57 +0000
committerMikhail Teterin <mi@FreeBSD.org>2013-03-28 02:10:57 +0000
commit946358e2fa88e308d84acdbf1ffecaa579390782 (patch)
tree7eb6b266615fdd632c92e1708ba8d261a3f64ee0 /deskutils/xmdiary/Makefile
parentAdd entry to LEGAL as RESTRICTED status was added in r314731 (diff)
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.
Notes
Notes: svn path=/head/; revision=315428
Diffstat (limited to 'deskutils/xmdiary/Makefile')
-rw-r--r--deskutils/xmdiary/Makefile6
1 files changed, 4 insertions, 2 deletions
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'