pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

perplexing games/alephone problem

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//}
 CATEGORIES=    games
@@ -12,6 +12,7 @@ MAINTAINER=   christtrekker%users.sourcefo@localhost
 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
        ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/AlephOne/

-.include "../../audio/SDL_sound/"
+BUILD_DEPENDS+=        boost-headers>=1.31:../../devel/boost-headers
 .include "../../devel/SDL/"
-.include "../../devel/boost-headers/"
+.include "../../audio/SDL_sound/"
 .include "../../graphics/SDL_image/"
 .include "../../net/SDL_net/"


Tim Larson        AMT2 Unix Systems Administrator
    InterCall, a division of West Corporation

               Eschew obfuscation!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Home | Main Index | Thread Index | Old Index