aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/truevision/Makefile
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-07-02 16:04:48 +0800
committerdaichi <daichi@FreeBSD.org>2003-07-02 16:04:48 +0800
commit75a24c156273f4e0d64a019868acdbf1367094af (patch)
tree530c5f00f0fbbb63be9c217a85e8e86ad7c469f4 /graphics/truevision/Makefile
parent1c1724ecc75645e613b03faba5b3caf2eaab3f00 (diff)
downloadfreebsd-ports-gnome-75a24c156273f4e0d64a019868acdbf1367094af.tar.gz
freebsd-ports-gnome-75a24c156273f4e0d64a019868acdbf1367094af.tar.zst
freebsd-ports-gnome-75a24c156273f4e0d64a019868acdbf1367094af.zip
update graphics/truevision:
- Fix build PR: 53769 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'graphics/truevision/Makefile')
-rw-r--r--graphics/truevision/Makefile30
1 files changed, 8 insertions, 22 deletions
diff --git a/graphics/truevision/Makefile b/graphics/truevision/Makefile
index 70ed9166c720..3a8118a27201 100644
--- a/graphics/truevision/Makefile
+++ b/graphics/truevision/Makefile
@@ -16,31 +16,17 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= The GNOME 3D modeler
-LIB_DEPENDS= gtkgl:${PORTSDIR}/x11-toolkits/gtkglarea
+LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
-USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_MESA= yes
-USE_GNOME= yes
+USE_GNOME= gnomehack gnomelibs gnomeprefix
USE_GMAKE= yes
+USE_AUTOMAKE_VER= 14
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_FLAGS}" \
- LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+ AUTOHEADER="${TRUE}"
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 500000
-BROKEN= "Does not compile"
-.endif
-
-pre-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \
- s|\$$(datadir)/locale|\$$(prefix)/share/locale|g'
- @${REINPLACE_CMD} -e "s,Bison ,Bison,g" ${WRKSRC}/configure
- @${REINPLACE_CMD} -e "s,-lgthread,-lgthread12,g ; \
- s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/src/Makefile.in
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>