From owner-freebsd-ports Fri Feb 9 11: 0:22 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DFEB837B69B for ; Fri, 9 Feb 2001 11:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f19J02X98175; Fri, 9 Feb 2001 11:00:02 -0800 (PST) (envelope-from gnats) Received: from snapple.webct.com (snapple.webct.com [209.87.17.45]) by hub.freebsd.org (Postfix) with ESMTP id 9B89137B503 for ; Fri, 9 Feb 2001 10:54:34 -0800 (PST) Received: (from root@localhost) by snapple.webct.com (8.11.1/8.11.1) id f19IsXt94706; Fri, 9 Feb 2001 10:54:33 -0800 (PST) (envelope-from varju) Message-Id: <200102091854.f19IsXt94706@snapple.webct.com> Date: Fri, 9 Feb 2001 10:54:33 -0800 (PST) From: Alex Varju Reply-To: varju@ca.webct.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/24973: [maintainer update] add plugin support for port/palm/jpilot Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24973 >Category: ports >Synopsis: [maintainer update] add plugin support for port/palm/jpilot >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 09 11:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Alex Varju >Release: FreeBSD 4.2-STABLE i386 >Organization: WebCT >Environment: >Description: 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. The solution is a bit of a hack, as all it does is force the value of enable_plugins to be true ... if somebody knows how to make configure do the right thing, I'd love to learn what I'm doing wrong. >How-To-Repeat: Install jpilot and run it ... there should be a Plugins menu if things go right. >Fix: Index: Makefile =================================================================== RCS file: /webct2/Admin/cvsroot/ports/palm/jpilot/Makefile,v retrieving revision 1.15 diff -u -w -r1.15 Makefile --- Makefile 2001/02/09 16:14:28 1.15 +++ Makefile 2001/02/09 18:45:09 @@ -21,6 +21,7 @@ USE_LIBTOOL= yes CONFIGURE_ARGS+=--with-pilot-prefix=${PREFIX} INSTALLS_SHLIB= yes +USE_AUTOCONF= yes post-install: .if !defined(NOPORTDOCS) Index: files/patch-configure.in =================================================================== RCS file: /webct2/Admin/cvsroot/ports/palm/jpilot/files/patch-configure.in,v retrieving revision 1.1 diff -u -w -r1.1 patch-configure.in --- files/patch-configure.in 2001/02/09 16:14:28 1.1 +++ files/patch-configure.in 2001/02/09 18:26:08 @@ -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 ], [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) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message