summaryrefslogtreecommitdiff
path: root/deskutils/xmdiary/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2013-12-03 19:12:34 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2013-12-03 19:12:34 +0000
commitfa8d0e026665c58d1fe362433eeff17f7a3e3dce (patch)
treeb9cea2e59be324a47724381f06bf291a2febdad3 /deskutils/xmdiary/Makefile
parent- Use proper UNAME variable here (diff)
- Remove USE_GCC and fix build with clang.
- Replace nomalloc script with REINPLACE_CMD. - Remove noextradepend script. It is no longer needed. PR: ports/181820 Approved by: maintainer timeout (3 months)
Notes
Notes: svn path=/head/; revision=335588
Diffstat (limited to 'deskutils/xmdiary/Makefile')
-rw-r--r--deskutils/xmdiary/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/deskutils/xmdiary/Makefile b/deskutils/xmdiary/Makefile
index 934ef03e52fa..76821b1505bb 100644
--- a/deskutils/xmdiary/Makefile
+++ b/deskutils/xmdiary/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xmdiary
PORTVERSION= 3.0.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= office
@@ -15,7 +15,6 @@ COMMENT= Personal and group calendar utility
NO_CDROM= Don't sell for profit
EXTRACT_ONLY= ${DISTNAME}.tar.gz
USES= imake motif
-USE_GCC= any
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 \
@@ -23,10 +22,9 @@ MAN1= xdaclunix.1 xdalarm.1 xdcustom.1 xddump.1 xdiary.1 xdinitdb.1 \
NO_STAGE= yes
post-patch:
- @${ECHO_MSG} removing the "malloc.h" includes
- ${SH} ${SCRIPTDIR}/nomalloc $(WRKSRC) 2>&1 > /dev/zero
- @${ECHO_MSG} removing unnecessary DependTarget from Imakefile-s
- ${SH} ${SCRIPTDIR}/noextradepend $(WRKSRC) 2>&1 > /dev/zero
+ @${REINPLACE_CMD} -e 's/malloc\.h/stdlib.h/' \
+ ${WRKSRC}/tools/LstLinked.c ${WRKSRC}/tools/System.c \
+ ${WRKSRC}/xtools/xitClipboard.c ${WRKSRC}/xtools/xitInfoFile.c
${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
-e 's|CcCmd gcc|CcCmd ${CC}|' '${WRKSRC}/XDiary.tmpl'