pkgsrc/x11/xplanet/Makefile
grant 712c21283a s/USE_CXX/USE_GCC_SHLIB/ - there are more shared libraries than just
libstdc++ in gcc3.

when defined, USE_GCC_SHLIB ensures that the correct rpath is passed
to the linker, and a full dependency on the compiler package is
registered.

packages which define USE_GCC_SHLIB should not include
mk/gcc.buildlink2.mk (or gcc{,3}/buildlink2.mk) as it is handled
automatically.
2003-05-29 23:14:07 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2003/05/29 23:14:12 grant Exp $
#
DISTNAME= xplanet-0.93
PKGREVISION= 3
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xplanet/}
MAINTAINER= atatat@netbsd.org
HOMEPAGE= http://xplanet.sourceforge.net/
COMMENT= Rotating rendered map of the Earth in X11 root window
USE_BUILDLINK2= yes
USE_GCC_SHLIB= yes
USE_X11= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-gl-dir=${BUILDLINK_PREFIX.Mesa}
CONFIGURE_ARGS+= --with-glut-dir=${BUILDLINK_PREFIX.Mesa}
LIBS= -lXext -lpbm -lppm -lpgm
MAKE_ENV+= LIBS="${LIBS}"
pre-configure:
cd ${WRKSRC} ; \
f=xplanet.1 ; \
[ -f $$f.BAK ] || ${MV} $$f $$f.BAK ; \
${SED} -e 's|@PREFIX@|${PREFIX}|g' < $$f.BAK > $$f
.include "../../graphics/Mesa/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/freetype2/buildlink2.mk"
.include "../../graphics/libungif/buildlink2.mk"
.include "../../graphics/netpbm/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"
.include "../../x11/tk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"