diff options
author | tg <tg@FreeBSD.org> | 2001-03-20 12:10:10 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-03-20 12:10:10 +0000 |
commit | 2fcb1c79467319b14affe02daafe4787950d0b87 (patch) | |
tree | e25dcba64de4dbafe8beeb5f6a79be2f0207fc8a /graphics/opendx | |
parent | c752724f768a65812c6d1e737387f81da92fd840 (diff) | |
download | FreeBSD-ports-2fcb1c79467319b14affe02daafe4787950d0b87.zip FreeBSD-ports-2fcb1c79467319b14affe02daafe4787950d0b87.tar.gz |
- Use USE_GMAKE to really make this build.
- Add some more dependencies.
- Add `-lcompat' to the libs so dxui actually works as intended.
The problem is that the OpenDX folks assume the old V8 style regcomp(3),
not the POSIX one. Adding the lib is just meant as a stop gap solution,
the real fix to the code will follow.
- Bump PORTREVISION.
Diffstat (limited to 'graphics/opendx')
-rw-r--r-- | graphics/opendx/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile index bd7acdb..e2bbf51 100644 --- a/graphics/opendx/Makefile +++ b/graphics/opendx/Makefile @@ -7,19 +7,23 @@ PORTNAME= opendx PORTVERSION= 4.1.0 +PORTREVISION= 1 CATEGORIES= graphics math MASTER_SITES= http://opendx.npaci.edu/source/ DISTNAME= dx-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ +LIB_DEPENDS= df.1:${PORTSDIR}/graphics/hdf \ + jbig.1:${PORTSDIR}/graphics/jbigkit \ + jpeg.9:${PORTSDIR}/graphics/jpeg \ netcdf.1:${PORTSDIR}/math/netcdf \ png.4:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff \ ttf.4:${PORTSDIR}/print/freetype USE_AUTOMAKE= yes +USE_GMAKE= yes USE_MESA= yes USE_MOTIF= yes USE_NEWGCC= yes @@ -33,9 +37,12 @@ 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 ;${MOTIFLIB} ;g" + xargs ${PERL} -pi -e "s;-lXm ;-lcompat ${MOTIFLIB} ;g" pre-configure: @cd ${WRKSRC} && aclocal |