diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-10-06 07:58:48 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-10-06 07:58:48 +0000 |
commit | e50dad9e73946ba5261f20b5417cfa432c322db6 (patch) | |
tree | 6a20fd204ada6563e4d66dd088655ee483f596bb /graphics/truevision | |
parent | 18319bf6dce0b0839b15e174b078350dfa5c4b87 (diff) |
Follow new GCC rules, and unbreak the build.
Reported by: kris
Approved by: portmgr (krion), fjoe (mentor, implicit)
Notes
Notes:
svn path=/head/; revision=118564
Diffstat (limited to 'graphics/truevision')
-rw-r--r-- | graphics/truevision/Makefile | 12 |
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> |