USE_LIBINTL cleanup.

This commit is contained in:
wiz 2001-01-04 14:18:49 +00:00
parent 2625fd3bcb
commit e136261bc2
4 changed files with 7 additions and 12 deletions

View file

@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.5 2000/09/11 03:53:05 fredb Exp $
# $NetBSD: Makefile,v 1.6 2001/01/04 14:18:49 wiz Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
DEPENDS+= freeciv-share-${FC_VERS}:../../games/freeciv-share
DEPENDS+= gettext>=0.10.35nb1:../../devel/gettext
CONFLICTS= freeciv-client-gtk-*
@ -16,7 +15,6 @@ USE_XPM= YES
CONFIGURE_ARGS+= --disable-server
CONFIGURE_ARGS+= --disable-make-data
CONFIGURE_ARGS+= --enable-client=xaw
CPPFLAGS+= -I${LOCALBASE}/include
.if defined(XAW_TYPE) && (${XAW_TYPE} == "3d")
CONFIGURE_ARGS+= --with-xaw3d

View file

@ -1,17 +1,15 @@
# $NetBSD: Makefile,v 1.2 2000/08/12 06:34:36 jlam Exp $
# $NetBSD: Makefile,v 1.3 2001/01/04 14:18:50 wiz Exp $
PKGNAME= ${DISTNAME:S/-/-server-/}
DEPENDS+= freeciv-share-${FC_VERS}:../../games/freeciv-share
DEPENDS+= gettext>=0.10.35nb1:../../devel/gettext
DEPENDS+= readline-*:../../devel/readline
CONFIGURE_ARGS+= --enable-client=no
CONFIGURE_ARGS+= --disable-make-data
CONFIGURE_ARGS+= --with-readline
CONFIGURE_ENV+= LIBS="${LIBS}"
CPPFLAGS+= -I${LOCALBASE}/include # libintl.h, readline.h
CPPFLAGS+= -I${LOCALBASE}/include # readline.h
LIBS+= -ltermcap
do-install:

View file

@ -1,11 +1,8 @@
# $NetBSD: Makefile,v 1.2 2000/08/12 06:34:36 jlam Exp $
# $NetBSD: Makefile,v 1.3 2001/01/04 14:18:50 wiz Exp $
PKGNAME= ${DISTNAME:S/-/-share-/}
BUILD_DEPENDS+= ${LOCALBASE}/include/libintl.h:../../devel/gettext
CONFIGURE_ARGS+= --disable-server
CONFIGURE_ARGS+= --enable-client=no
CPPFLAGS+= -I${LOCALBASE}/include # libintl.h
.include "../../games/freeciv-share/Makefile.common"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.3 2000/08/12 06:34:38 jlam Exp $
# $NetBSD: Makefile.common,v 1.4 2001/01/04 14:18:50 wiz Exp $
DISTNAME= freeciv-${FC_VERS}
FC_VERS= 1.11.4
@ -11,12 +11,14 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.freeciv.org/
BUILD_DEPENDS+= autoreconf:../../devel/autoconf
BUILD_DEPENDS+= msgfmt:../../devel/gettext
FILESDIR= ${.CURDIR}/../../games/freeciv-share/files
PATCHDIR= ${.CURDIR}/../../games/freeciv-share/patches
GNU_CONFIGURE= # defined
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
USE_LIBINTL= yes
pre-configure:
cd ${WRKSRC} && autoreconf