diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 2001-03-21 12:58:39 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 2001-03-21 12:58:39 +0000 |
commit | 174fded7f659c0a46457b3a6e3985dfe6f926413 (patch) | |
tree | 226919297364eeded694b01b5540caf72da9615d /graphics/opendx/Makefile | |
parent | Update to 1.16. (diff) |
- Remove `-lcompat' again, the new patches contain code fixes.
- Fix paths in the documentation (/usr/lpp -> ${PREFIX}).
- patch-ae is no longer needed with gmake.
Notes
Notes:
svn path=/head/; revision=40155
Diffstat (limited to 'graphics/opendx/Makefile')
-rw-r--r-- | graphics/opendx/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile index e2bbf5117fbf..ba4c95b267d5 100644 --- a/graphics/opendx/Makefile +++ b/graphics/opendx/Makefile @@ -37,14 +37,18 @@ CONFIGURE_ENV= ARCH="" \ NO_MTREE= yes PLIST_SUB= ARCH=${OPSYS:L} -# XXX the -lcompat below is an ugly kludge. opendx's code -# should be fixed to use the modern POSIX style regcomp(3) -# instead of the old V8 style one. post-patch: @find ${WRKSRC} -name Makefile.am | \ - xargs ${PERL} -pi -e "s;-lXm ;-lcompat ${MOTIFLIB} ;g" + xargs ${PERL} -pi -e "s;-lXm ;${MOTIFLIB} ;g" pre-configure: - @cd ${WRKSRC} && aclocal + @cd ${WRKSRC} && aclocal && ${SETENV} ${CONFIGURE_ENV} autoheader + +post-install: + @${ECHO_MSG} "===> Fixing path in the docs (/usr/lpp -> ${PREFIX})" +.for dir in doc help html man + @find ${PREFIX}/dx/${dir} -type f | \ + xargs ${PERL} -pi -e "s;/usr/lpp;${PREFIX};g" +.endfor .include <bsd.port.mk> |