diff options
author | reg <reg@FreeBSD.org> | 2000-10-11 01:12:22 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-10-11 01:12:22 +0800 |
commit | 3f59f239ae3d0040c7a366fb12b4651792495fdc (patch) | |
tree | dbf4f8e190425908b37018729358599816b41211 /games/freeciv/Makefile | |
parent | 28b4eb25da9ed5eb95ceff8c32c32fed446861a7 (diff) | |
download | freebsd-ports-gnome-3f59f239ae3d0040c7a366fb12b4651792495fdc.tar.gz freebsd-ports-gnome-3f59f239ae3d0040c7a366fb12b4651792495fdc.tar.zst freebsd-ports-gnome-3f59f239ae3d0040c7a366fb12b4651792495fdc.zip |
Fix my breakage. Make this port a WANT_GTK port, so that freeciv-gtk
builds, and add a missing dependency on gettext.
Noticed by: asami
Diffstat (limited to 'games/freeciv/Makefile')
-rw-r--r-- | games/freeciv/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile index 175f2273b078..956e6c8504fd 100644 --- a/games/freeciv/Makefile +++ b/games/freeciv/Makefile @@ -14,17 +14,27 @@ MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable/ \ MAINTAINER= sheldonh@freebsd.org +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext + USE_XPM= yes USE_BZIP2= yes -WANT_IMLIB= yes +WANT_GTK= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" .include <bsd.port.pre.mk> -.if defined(HAVE_IMLIB) +.if defined(HAVE_GTK) USE_IMLIB= yes .else CONFIGURE_ARGS= --disable-gtktest .endif +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ + s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ + s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure + .include <bsd.port.post.mk> |