summaryrefslogtreecommitdiffstats
path: root/palm/jpilot
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2001-02-11 17:25:56 +0000
committerjeh <jeh@FreeBSD.org>2001-02-11 17:25:56 +0000
commit6f47897faae500d84d7669b274a99e87b55efb8a (patch)
tree13b3a657b2f2b23b039ad5a229b33b691e3b0c32 /palm/jpilot
parentda6f2c0137dddb814e5eb113cba1ed020e688755 (diff)
downloadFreeBSD-ports-6f47897faae500d84d7669b274a99e87b55efb8a.zip
FreeBSD-ports-6f47897faae500d84d7669b274a99e87b55efb8a.tar.gz
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
Diffstat (limited to 'palm/jpilot')
-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 2e86ac8..7bf3e79 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 1606665..d13b1b3 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)
OpenPOWER on IntegriCloud