aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mydumper
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-08-11 03:50:23 +0800
committertijl <tijl@FreeBSD.org>2014-08-11 03:50:23 +0800
commita4d6c8291df773152db305fb1b6fb73ff46ce5d0 (patch)
treec05d182f965de6bace293ed87ece71bd45e7c422 /databases/mydumper
parentfe632b08e93ba1c874edd2ac8a8dd74b2a8db908 (diff)
downloadfreebsd-ports-gnome-a4d6c8291df773152db305fb1b6fb73ff46ce5d0.tar.gz
freebsd-ports-gnome-a4d6c8291df773152db305fb1b6fb73ff46ce5d0.tar.zst
freebsd-ports-gnome-a4d6c8291df773152db305fb1b6fb73ff46ce5d0.zip
Fix problems with missing libs when the linker enforces explicit linking
(a* to d* categories) PR: 192062
Diffstat (limited to 'databases/mydumper')
-rw-r--r--databases/mydumper/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/mydumper/Makefile b/databases/mydumper/Makefile
index 37e2d3e2cbfc..a5f190fb8375 100644
--- a/databases/mydumper/Makefile
+++ b/databases/mydumper/Makefile
@@ -20,7 +20,9 @@ USES= cmake pkgconfig
PLIST_FILES= sbin/mydumper sbin/myloader
post-patch:
- @${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/CMakeLists.txt
+ @${REINPLACE_CMD} \
+ -e '/link_libraries(mydumper/s/)$$/ -lm)/' \
+ -e 's|-Werror||' ${WRKSRC}/CMakeLists.txt
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mydumper ${WRKSRC}/myloader ${STAGEDIR}${PREFIX}/sbin/