aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/hercules/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/hercules/Makefile b/emulators/hercules/Makefile
index 132fc159a601..cc6ca8cd566e 100644
--- a/emulators/hercules/Makefile
+++ b/emulators/hercules/Makefile
@@ -24,6 +24,10 @@ OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|SOL_TCP|IPPROTO_TCP|g' ${WRKSRC}/hscutl.c
+ @${REINPLACE_CMD} \
+ -e '/herclin_LDADD =/s/$$/ libhercu.la libhercd.la/' \
+ -e '/hercules_LDADD =/s/$$/ libhercu.la libhercd.la/' \
+ ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
'/^pkgdatadir/s|=.*|= $$(docdir)|' ${WRKSRC}/html/Makefile.in