aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/libgdiplus/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-06-22 10:44:29 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-06-22 10:44:29 +0000
commit3e4a806167fd4921ccc48623317dc31d7ab4f276 (patch)
tree2e1c942caa79a250b3baeb557ee3445960e10d70 /x11-toolkits/libgdiplus/Makefile
parentd9b2d0f0da5b6f85f90547429dadaa903033f59a (diff)
downloadports-3e4a806167fd4921ccc48623317dc31d7ab4f276.tar.gz
ports-3e4a806167fd4921ccc48623317dc31d7ab4f276.zip
Notes
Diffstat (limited to 'x11-toolkits/libgdiplus/Makefile')
-rw-r--r--x11-toolkits/libgdiplus/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-toolkits/libgdiplus/Makefile b/x11-toolkits/libgdiplus/Makefile
index 9a233c3f9e90..0722ea319375 100644
--- a/x11-toolkits/libgdiplus/Makefile
+++ b/x11-toolkits/libgdiplus/Makefile
@@ -31,4 +31,9 @@ PLIST_FILES= lib/libgdiplus.a \
lib/libgdiplus.so.0.0.0 \
libdata/pkgconfig/libgdiplus.pc
+post-patch:
+ @${REINPLACE_CMD} \
+ '/^testgdi_LDADD =/s/$$/ $$(BASE_DEPENDENCIES_LIBS) -lX11/' \
+ ${WRKSRC}/tests/Makefile.in
+
.include <bsd.port.mk>