I was pretty excited this morning that the SDL packages built for the first
time on my Solaris/sparc box. This meant I could give games/alephone a try
on a new platform.
Please note patch below.
The perplexing thing is that the package won't build on this system _within
the pkgsrc framework_. Configuration completes, then gcc throws errors
about boost headers not found, so all kinds of things are undeclared. BUT
if I descend to the WRKSRC and manually issue gmake, it builds fine!
Any ideas?
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/alephone/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile 10 Jul 2008 14:55:56 -0000 1.6
+++ Makefile 30 Oct 2008 17:50:45 -0000
@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.6 2008/07/10 14:55:56 joerg Exp $
#
-DISTNAME= AlephOne-20071103
-PKGNAME= ${DISTNAME:tl}
+DISTNAME= AlephOne-20071103-nolibs
+PKGNAME= ${DISTNAME:tl:S/-nolibs//}
PKGREVISION= 4
CATEGORIES= games
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:=marathon/}
@@ -12,6 +12,7 @@ MAINTAINER= christtrekker%users.sourcefo@localhost
HOMEPAGE= http://marathon.sourceforge.net/
COMMENT= Classic 2.5D FPS game engine, updated to use SDL
+WRKSRC= ${WRKDIR}/${DISTNAME:S/-nolibs//}
GNU_CONFIGURE= yes
USE_LANGUAGES+= c c++
INSTALLATION_DIRS= share/doc/AlephOne
@@ -21,9 +22,11 @@ CONFIGURE_ARGS= --disable-speex
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/AlephOne/
-.include "../../audio/SDL_sound/buildlink3.mk"
+BUILD_DEPENDS+= boost-headers>=1.31:../../devel/boost-headers
+
+BUILDLINK_API_DEPENDS.SDL+= SDL>=1.2.6
.include "../../devel/SDL/buildlink3.mk"
-.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../audio/SDL_sound/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../net/SDL_net/buildlink3.mk"
Thanks,
Tim
--
Tim Larson AMT2 Unix Systems Administrator
InterCall, a division of West Corporation
Eschew obfuscation!
Attachment:
smime.p7s
Description: S/MIME cryptographic signature