summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-09-22 00:28:10 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-09-22 00:28:10 +0000
commit9db5045e1b9ec831a221819b338af4b03b6d61f9 (patch)
tree814deb90f167505ebc938df9d100b28817a097b0 /graphics
parentUpdate 2.1b2 -> 2.1b3 and unbreak. Point MAINTAINER to Karl Dietz (diff)
Use a find | xargs perl command in post-patch to replace the -lXm's
with ${MOTIFLIB}'s in all Makefile.in's. (The substitution pattern will only work for -lXm's in the middle of a line but since it requires other libraries, I guess that's ok.)
Notes
Notes: svn path=/head/; revision=21867
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>