diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1999-09-22 00:28:10 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1999-09-22 00:28:10 +0000 |
commit | 9db5045e1b9ec831a221819b338af4b03b6d61f9 (patch) | |
tree | 814deb90f167505ebc938df9d100b28817a097b0 /graphics | |
parent | 39a855294d783cdc4f22cd800742e528ca77a33b (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/Makefile | 4 |
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> |