aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/opendx/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile
index c02d0ea866c7..fc6bdef3c1a6 100644
--- a/graphics/opendx/Makefile
+++ b/graphics/opendx/Makefile
@@ -23,4 +23,8 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -Dfreebsd" \
NO_MTREE= yes
PLIST_SUB= ARCH=${MACHINE_ARCH}
+post-patch:
+ @find ${WRKSRC} -name Makefile.in | \
+ xargs /usr/bin/perl -pi -e 's/-lXm /\$${MOTIFLIB} /g'
+
.include <bsd.port.mk>