summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-wm/epplets/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-wm/epplets/Makefile b/x11-wm/epplets/Makefile
index 017ba147e285..9a17965b251f 100644
--- a/x11-wm/epplets/Makefile
+++ b/x11-wm/epplets/Makefile
@@ -23,6 +23,7 @@ RUN_DEPENDS= import:${PORTSDIR}/graphics/ImageMagick
WRKSRC= ${WRKDIR}/Epplets-0.5
+USE_REINPLACE= yes
USE_X_PREFIX= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
@@ -32,4 +33,7 @@ CONFIGURE_ENV= EROOT=${X11BASE}/share/enlightenment \
LIBS="-L${LOCALBASE}/lib -lintl" \
X_LIBS="-lxpg4"
+post-patch:
+ @${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|" ${WRKSRC}/epplets/mbox.c
+
.include <bsd.port.mk>