summaryrefslogtreecommitdiffstats
path: root/graphics/opendx
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-03-20 12:10:10 +0000
committertg <tg@FreeBSD.org>2001-03-20 12:10:10 +0000
commit2fcb1c79467319b14affe02daafe4787950d0b87 (patch)
treee25dcba64de4dbafe8beeb5f6a79be2f0207fc8a /graphics/opendx
parentc752724f768a65812c6d1e737387f81da92fd840 (diff)
downloadFreeBSD-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/Makefile11
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
OpenPOWER on IntegriCloud