No need for the itlocaledir tweak.

This commit is contained in:
ajacoutot 2011-04-26 12:51:25 +00:00
parent bb3d82bdb0
commit 1b96d54c2d
4 changed files with 3 additions and 21 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.22 2011/04/07 12:45:07 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.23 2011/04/26 12:51:25 ajacoutot Exp $
SHARED_ONLY= Yes
@ -85,8 +85,6 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GROFF = Yes
FAKE_FLAGS= itlocaledir=${PREFIX}/share/locale/
pre-configure:
${SUBST_CMD} ${WRKSRC}/configure

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-po_Makefile_in_in,v 1.1 2010/03/23 21:18:59 ajacoutot Exp $
--- po/Makefile.in.in.orig Thu Jan 28 13:32:39 2010
+++ po/Makefile.in.in Thu Jan 28 13:33:03 2010
@@ -34,7 +34,7 @@ datadir = @datadir@
datarootdir = @datarootdir@
libdir = @libdir@
DATADIRNAME = @DATADIRNAME@
-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
+itlocaledir = @datarootdir@/locale
subdir = po
install_sh = @install_sh@
# Automake >= 1.8 provides @mkdir_p@.

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.41 2011/03/25 09:13:43 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.42 2011/04/26 12:51:25 ajacoutot Exp $
COMMENT= GTK2 desktop calculator
@ -39,6 +39,4 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
USE_GROFF= Yes
FAKE_FLAGS+= itlocaledir="${PREFIX}/share/locale/"
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.31 2011/04/07 07:56:25 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.32 2011/04/26 12:51:25 ajacoutot Exp $
SHARED_ONLY= Yes
@ -43,6 +43,4 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-quvi \
--enable-introspection
FAKE_FLAGS= itlocaledir=${PREFIX}/share/locale/
.include <bsd.port.mk>