summaryrefslogtreecommitdiff
path: root/palm
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2001-02-11 17:25:56 +0000
committerJames E. Housley <jeh@FreeBSD.org>2001-02-11 17:25:56 +0000
commite63f0e69301bf54698d9a2a412a1defea96358d5 (patch)
treeee7657152e2ce2664f173db2b271ffe8c30b813b /palm
parentUpdate: 2.2.1 (diff)
The current version of the port does not enable plugins, even though
they are compiled. This stems from a problem in the configure script that forces the enable_plugins value to always be false, whether or not --enable-plugins is specified. PR: 24973 Submitted by: Alex Varju <varju@ca.webct.com> MAINTAINER
Notes
Notes: svn path=/head/; revision=38218
Diffstat (limited to 'palm')
-rw-r--r--palm/jpilot/Makefile2
-rw-r--r--palm/jpilot/files/patch-configure.in29
2 files changed, 26 insertions, 5 deletions
diff --git a/palm/jpilot/Makefile b/palm/jpilot/Makefile
index 2e86ac863f5c..7bf3e799e25a 100644
--- a/palm/jpilot/Makefile
+++ b/palm/jpilot/Makefile
@@ -8,6 +8,7 @@
PORTNAME= jpilot
PORTVERSION= 0.99
+PORTREVISION?= 1
CATEGORIES+= palm comms
MASTER_SITES= http://jpilot.org/
@@ -21,6 +22,7 @@ USE_GTK= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS+=--with-pilot-prefix=${PREFIX}
INSTALLS_SHLIB= yes
+USE_AUTOCONF= yes
post-install:
.if !defined(NOPORTDOCS)
diff --git a/palm/jpilot/files/patch-configure.in b/palm/jpilot/files/patch-configure.in
index 1606665c0a2b..d13b1b3d6def 100644
--- a/palm/jpilot/files/patch-configure.in
+++ b/palm/jpilot/files/patch-configure.in
@@ -1,9 +1,28 @@
---- configure.in.orig Fri Feb 9 23:52:19 2001
-+++ configure.in Fri Feb 9 23:53:32 2001
-@@ -233,4 +233,6 @@
+--- configure.in.orig Tue Feb 6 11:26:38 2001
++++ configure.in Fri Feb 9 10:24:46 2001
+@@ -170,15 +170,12 @@
+
+
+ AC_ARG_ENABLE(plugins, [ --disable-plugins Do not compile plugin support]\
+-, enable_plugins=no, enable_plugins=yes)
++, enable_plugins=yes, enable_plugins=yes)
+
+ if test "x$enable_plugins" = "xyes"; then
+ dnl Check for shared library calls
+ AC_MSG_CHECKING(for dlopen)
+- save_LIBS="$LIBS"
+- LIBS="$LIBS -ldl"
+ AC_TRY_LINK([#include <dlfcn.h>], [dlopen("huh",0);] , have_dlopen=yes, , )
+- LIBS="$save_LIBS"
+
+ if test "x$have_dlopen" = "xyes"; then
+ AC_DEFINE(ENABLE_PLUGINS)
+@@ -232,5 +229,8 @@
+
AC_OUTPUT([Makefile intl/Makefile po/Makefile.in],
[sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])
-
-+AC_OUTPUT_SUBDIRS(Expense)
++
+AC_OUTPUT_SUBDIRS(SyncTime)
++AC_OUTPUT_SUBDIRS(Expense)
+
dnl AC_OUTPUT(Makefile)