summaryrefslogtreecommitdiff
path: root/comms/jpilot/Makefile
diff options
context:
space:
mode:
authoritojun <itojun>2000-11-08 17:47:14 +0000
committeritojun <itojun>2000-11-08 17:47:14 +0000
commit2a7108e3778302deb38ed8b75b54a8f1fe2fdd80 (patch)
tree7ae4f18855f464aeec8fa42f2a01a0e980ab3854 /comms/jpilot/Makefile
parentab94c70d561551fc3301bf3732801cac806640d6 (diff)
downloadpkgsrc-2a7108e3778302deb38ed8b75b54a8f1fe2fdd80.tar.gz
properly BUILD_DEPEND on gettext. add USE_LIBINTL.
workaround gettext.m4 bug.
Diffstat (limited to 'comms/jpilot/Makefile')
-rw-r--r--comms/jpilot/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/comms/jpilot/Makefile b/comms/jpilot/Makefile
index 0d77e49dc03..0d9f885f9fc 100644
--- a/comms/jpilot/Makefile
+++ b/comms/jpilot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2000/11/08 13:15:38 tron Exp $
+# $NetBSD: Makefile,v 1.10 2000/11/08 17:47:14 itojun Exp $
#
DISTNAME= jpilot-0.98.1
@@ -8,17 +8,21 @@ MASTER_SITES= http://jpilot.linuxave.net/
MAINTAINER= rh@netbsd.org
HOMEPAGE= http://jpilot.linuxave.net/
+BUILD_DEPENDS+= msgfmt:../../devel/gettext
DEPENDS+= gtk+>=1.2.0:../../x11/gtk
DEPENDS+= pilot-link>=0.9.3:../../comms/pilot-link
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_X11= YES
+USE_LIBINTL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
EVAL_PREFIX+= GTKDIR=gtk+
CONFIGURE_ARGS+= --with-gtk-prefix="${GTKDIR}"
CONFIGURE_ARGS+= --with-pilot-prefix=${LOCALBASE}
+# workaround gettext.m4 bug - may have bad sideeffect
+CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -lintl"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/jpilot/plugins