aboutsummaryrefslogtreecommitdiff
path: root/graphics/separate/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
commit216b5a285fdcc1456a307fcc60f3507c20d613eb (patch)
treed0c8617b772b8f0a175d436d938b8d844590b41f /graphics/separate/Makefile
parentb829518a7d432b7cc2546fde7f032238d1db13dc (diff)
downloadports-216b5a285fdcc1456a307fcc60f3507c20d613eb.tar.gz
ports-216b5a285fdcc1456a307fcc60f3507c20d613eb.zip
Notes
Diffstat (limited to 'graphics/separate/Makefile')
-rw-r--r--graphics/separate/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/separate/Makefile b/graphics/separate/Makefile
index fa5a77798fce..29271080b6ec 100644
--- a/graphics/separate/Makefile
+++ b/graphics/separate/Makefile
@@ -42,8 +42,9 @@ MAKE_ENV+= TARGETS="${BIN_TARGETS}" \
.include <bsd.port.options.mk>
post-patch:
- @${REINPLACE_CMD} -e '/^CC/s|=|?=|; s| make| ${MAKE_CMD}|;' \
- ${WRKSRC}/Makefile ${WRKSRC}/po/Makefile
+ @${REINPLACE_CMD} \
+ '/^CC/s|=|?=|; s| make| ${MAKE_CMD}|; /^LIBS/s/$$/ -lm/;' \
+ ${WRKSRC}/Makefile ${WRKSRC}/po/Makefile
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gimp/2.2/plug-ins