aboutsummaryrefslogtreecommitdiff
path: root/games/vamos
diff options
context:
space:
mode:
Diffstat (limited to 'games/vamos')
-rw-r--r--games/vamos/Makefile8
-rw-r--r--games/vamos/files/patch-configure10
-rw-r--r--games/vamos/pkg-plist16
3 files changed, 21 insertions, 13 deletions
diff --git a/games/vamos/Makefile b/games/vamos/Makefile
index e70cd16e5560..c67d05d82d48 100644
--- a/games/vamos/Makefile
+++ b/games/vamos/Makefile
@@ -8,6 +8,7 @@
PORTNAME= vamos
PORTVERSION= 0.2.2
+PORTREVSION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -18,9 +19,10 @@ BUILD_DEPENDS= ${X11BASE}/lib/libplibul.a:${PORTSDIR}/x11-toolkits/plib
LIB_DEPENDS= sigc:${PORTSDIR}/devel/libsigc++
USE_MESA= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
- LIBS="-L${X11BASE}/lib ${PTHREAD_LIBS} -lGL -lGLU -lglut"
+USE_LIBTOOL= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include ${PTHREAD_CFLAGS}" \
+ LIBS="-L${X11BASE}/lib -lGL -lGLU -lglut ${PTHREAD_LIBS}"
INSTALLS_SHLIB= yes
.include <bsd.port.mk>
diff --git a/games/vamos/files/patch-configure b/games/vamos/files/patch-configure
new file mode 100644
index 000000000000..ac027a5c3fa6
--- /dev/null
+++ b/games/vamos/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Thu Jun 6 09:33:15 2002
++++ configure Fri Jun 7 05:34:40 2002
+@@ -7809,6 +7809,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/games/vamos/pkg-plist b/games/vamos/pkg-plist
index 0ffc38e594b8..57ad51dbd08b 100644
--- a/games/vamos/pkg-plist
+++ b/games/vamos/pkg-plist
@@ -32,28 +32,19 @@ include/vamos/world/Atmosphere.h
include/vamos/world/Car_World.h
include/vamos/world/Gl_Car_World.h
include/vamos/world/World.h
-@dirrm include/vamos/body
-@dirrm include/vamos/geometry
-@dirrm include/vamos/track
-@dirrm include/vamos/world
-@dirrm include/vamos
@unexec install-info --delete %D/info/vamos.info %D/info/dir
info/vamos.info
@exec install-info %D/info/vamos.info %D/info/dir
lib/libvamos-body.a
-lib/libvamos-body.la
lib/libvamos-body.so
lib/libvamos-body.so.0
lib/libvamos-geometry.a
-lib/libvamos-geometry.la
lib/libvamos-geometry.so
lib/libvamos-geometry.so.0
lib/libvamos-track.a
-lib/libvamos-track.la
lib/libvamos-track.so
lib/libvamos-track.so.0
lib/libvamos-world.a
-lib/libvamos-world.la
lib/libvamos-world.so
lib/libvamos-world.so.0
share/vamos/sounds/engine.wav
@@ -64,6 +55,11 @@ share/vamos/textures/rail.ppm
share/vamos/textures/tires.ppm
share/vamos/textures/track.ppm
share/vamos/textures/wall.ppm
-@dirrm share/vamos/sounds
@dirrm share/vamos/textures
+@dirrm share/vamos/sounds
@dirrm share/vamos
+@dirrm include/vamos/world
+@dirrm include/vamos/track
+@dirrm include/vamos/geometry
+@dirrm include/vamos/body
+@dirrm include/vamos