aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
Diffstat (limited to 'comms')
-rw-r--r--comms/wsjt/Makefile2
-rw-r--r--comms/wspr/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/comms/wsjt/Makefile b/comms/wsjt/Makefile
index 643a12be85ef..fb87d3d5aa8f 100644
--- a/comms/wsjt/Makefile
+++ b/comms/wsjt/Makefile
@@ -39,6 +39,8 @@ PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//} \
PORTVERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
+post-configure:
+ @${REINPLACE_CMD} -e 's|-Wl.*||' ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
diff --git a/comms/wspr/Makefile b/comms/wspr/Makefile
index fc45ec985a79..e034acf38959 100644
--- a/comms/wspr/Makefile
+++ b/comms/wspr/Makefile
@@ -39,6 +39,8 @@ PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//} \
PORTVERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
+post-configure:
+ @${REINPLACE_CMD} -e 's|-Wl.*||' ${WRKSRC}/Makefile
post-install:
@${CAT} ${PKGMESSAGE}