From 2fcb1c79467319b14affe02daafe4787950d0b87 Mon Sep 17 00:00:00 2001 From: tg Date: Tue, 20 Mar 2001 12:10:10 +0000 Subject: - 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. --- graphics/opendx/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'graphics') 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 -- cgit v1.1