summaryrefslogtreecommitdiff
path: root/graphics/xpaint/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xpaint/Makefile')
-rw-r--r--graphics/xpaint/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile
index 7f0e186c0953..42180c871b04 100644
--- a/graphics/xpaint/Makefile
+++ b/graphics/xpaint/Makefile
@@ -29,10 +29,10 @@ SHEBANG_FILES= share/bin/imgmerge share/bin/xpaint_ocr
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
-MAKE_ENV+= RM="${RM} -f"
+MAKE_ENV+= RM="${RM}"
post-patch:
- @${RM} -f ${WRKSRC}/XPaint.ad
+ @${RM} ${WRKSRC}/XPaint.ad
@${REINPLACE_CMD} -e 's/-ldl //' \
${WRKSRC}/configure ${WRKSRC}/rw/configure
@${REINPLACE_CMD} -e '/^LIBTOOL =/s|=.*|= ${LOCALBASE}/bin/libtool|' \