diff options
-rw-r--r-- | x11-wm/awesome/Makefile | 5 | ||||
-rw-r--r-- | x11-wm/awesome2/Makefile | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/x11-wm/awesome/Makefile b/x11-wm/awesome/Makefile index f4ac2e029259..df32ab9040cd 100644 --- a/x11-wm/awesome/Makefile +++ b/x11-wm/awesome/Makefile @@ -34,6 +34,11 @@ MAN5= awesomerc.5 PORTDOCS= AUTHORS LICENSE README STYLE UPGRADE PORTEXAMPLES= awesomerc +post-patch: + @${REINPLACE_CMD} -e 's, "$$(DESTDIR)$$(docdir)";,;,g' \ + -e 's,\([[:space:]]\)install-docDATA ,\1,g' \ + ${WRKSRC}/Makefile.in + post-configure: @${REINPLACE_CMD} -E '/^awesome_(message_)?LDADD/s/$$/ -liconv/g; \ /^doc_DATA/s/=.*$$/=/g' \ diff --git a/x11-wm/awesome2/Makefile b/x11-wm/awesome2/Makefile index f4ac2e029259..df32ab9040cd 100644 --- a/x11-wm/awesome2/Makefile +++ b/x11-wm/awesome2/Makefile @@ -34,6 +34,11 @@ MAN5= awesomerc.5 PORTDOCS= AUTHORS LICENSE README STYLE UPGRADE PORTEXAMPLES= awesomerc +post-patch: + @${REINPLACE_CMD} -e 's, "$$(DESTDIR)$$(docdir)";,;,g' \ + -e 's,\([[:space:]]\)install-docDATA ,\1,g' \ + ${WRKSRC}/Makefile.in + post-configure: @${REINPLACE_CMD} -E '/^awesome_(message_)?LDADD/s/$$/ -liconv/g; \ /^doc_DATA/s/=.*$$/=/g' \ |