aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/truevision
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-10-06 15:58:48 +0800
committerdanfe <danfe@FreeBSD.org>2004-10-06 15:58:48 +0800
commitc9098b005a7d77ebb205e7fc1dcbe3ad035ebaff (patch)
tree34dd328dab9d42cfb8d69ac7a04653a8d6fba1fb /graphics/truevision
parentd3f232e7d98a438d3ace1c7c17723d9fcf188811 (diff)
downloadfreebsd-ports-gnome-c9098b005a7d77ebb205e7fc1dcbe3ad035ebaff.tar.gz
freebsd-ports-gnome-c9098b005a7d77ebb205e7fc1dcbe3ad035ebaff.tar.zst
freebsd-ports-gnome-c9098b005a7d77ebb205e7fc1dcbe3ad035ebaff.zip
Follow new GCC rules, and unbreak the build.
Reported by: kris Approved by: portmgr (krion), fjoe (mentor, implicit)
Diffstat (limited to 'graphics/truevision')
-rw-r--r--graphics/truevision/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/truevision/Makefile b/graphics/truevision/Makefile
index eb2b5bb4edff..4a00aa87fabb 100644
--- a/graphics/truevision/Makefile
+++ b/graphics/truevision/Makefile
@@ -19,6 +19,7 @@ COMMENT= The GNOME 3D modeler
LIB_DEPENDS= gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext
USE_BZIP2= yes
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GL= yes
USE_GNOME= gnomehack gnomeprefix libgnomeui
@@ -33,16 +34,13 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
post-extract:
@${FIND} ${WRKSRC} -type l -delete
@${FIND} ${WRKSRC} -name "*.o" -delete
@${FIND} ${WRKSRC} -name "config.cache" -delete
+ @${REINPLACE_CMD} -e 's/ enum Gdk/Gdk/' ${WRKSRC}/src/glview2d.cc \
+ ${WRKSRC}/src/glview3d.cc ${WRKSRC}/src/mapedit.cc \
+ ${WRKSRC}/src/slopemap.cc
post-install:
@${MKDIR} ${PREFIX}/share/gnome/Truevision
@@ -50,4 +48,4 @@ post-install:
${TAR} -C ${PREFIX}/share/gnome/Truevision --unlink -xf -
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/gnome/Truevision
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>