diff options
author | asami <asami@FreeBSD.org> | 1999-09-22 08:28:10 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1999-09-22 08:28:10 +0800 |
commit | 8d1b3bc13acca0a35e0993b40c14424c60970a9f (patch) | |
tree | 0fdddc57a5a1c6b63ca88e750375864bd69896d0 /graphics/opendx | |
parent | 1269dfd7b06dedc8508274f6ec9910ead56cdebc (diff) | |
download | freebsd-ports-gnome-8d1b3bc13acca0a35e0993b40c14424c60970a9f.tar.gz freebsd-ports-gnome-8d1b3bc13acca0a35e0993b40c14424c60970a9f.tar.zst freebsd-ports-gnome-8d1b3bc13acca0a35e0993b40c14424c60970a9f.zip |
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.)
Diffstat (limited to 'graphics/opendx')
-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> |