aboutsummaryrefslogtreecommitdiff
path: root/net/freerdp
diff options
context:
space:
mode:
authorAlexander Logvinov <avl@FreeBSD.org>2010-11-01 13:36:32 +0000
committerAlexander Logvinov <avl@FreeBSD.org>2010-11-01 13:36:32 +0000
commit3f35a5e26d637da59f5e48314ea6ba6c69c1632f (patch)
tree148ad410d2abfafdcbd2291ff0e8a262fba11b86 /net/freerdp
parentf2cecd18c1a4be62915962d334659ad441f678d1 (diff)
downloadports-3f35a5e26d637da59f5e48314ea6ba6c69c1632f.tar.gz
ports-3f35a5e26d637da59f5e48314ea6ba6c69c1632f.zip
Notes
Diffstat (limited to 'net/freerdp')
-rw-r--r--net/freerdp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/freerdp/Makefile b/net/freerdp/Makefile
index 4443cf474fc0..fe55d9397eb0 100644
--- a/net/freerdp/Makefile
+++ b/net/freerdp/Makefile
@@ -75,11 +75,14 @@ CONFIGURE_ARGS+=--with-sound=no
PLIST_SUB+= SOUND="@comment "
.endif
-do-patch:
+post-patch:
.if defined(WITHOUT_X11)
@${REINPLACE_CMD} -e 's|man_MANS = |man_MANS1 = |g' ${WRKSRC}/doc/Makefile.in
.endif
@${REINPLACE_CMD} -e 's|-ldl -lpthread|${PTHREAD_LIBS}|' \
${WRKSRC}/libfreerdpchanman/Makefile.in
+ @${REINPLACE_CMD} -e 's|-I$$(top_builddir)|-I$$(top_builddir)/include|' \
+ ${WRKSRC}/libfreerdp/Makefile.in ${WRKSRC}/libfreerdpgdi/Makefile.in \
+ ${WRKSRC}/libfreerdpkbd/Makefile.in ${WRKSRC}/X11/Makefile.in
.include <bsd.port.mk>