Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 16:42:49 +0900
From:      KUNISHIMA Takeo <kunishi@acm.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41000: net/ppxp: fix to build with the latest xforms
Message-ID:  <20020726164249L.kunishi@aquamarine.c.oka-pu.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         41000
>Category:       ports
>Synopsis:       net/ppxp: fix to build with the latest xforms
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 26 00:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KUNISHIMA Takeo
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Okayama Prefectural University, Japan
>Environment:
System: FreeBSD fiva.chorusroom.org 5.0-CURRENT FreeBSD 5.0-CURRENT #12: Tue Jul 23 12:42:12 JST 2002 root@fiva.chorusroom.org:/usr/obj/usr/src/sys/FIVA i386

>Description:
	It needs XForms library (x11-toolkits/xforms) to build PPxP
	(net/ppxp).  However, GNU configure in PPxP package fails to check
	XForms library.  The error message says that libXpm should be linked.

	Some fixes of pkg-plist are also included in this send-pr.
>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/net/ppxp/Makefile ppxp/Makefile
--- /usr/ports/net/ppxp/Makefile	Thu Jul  4 23:11:26 2002
+++ ppxp/Makefile	Wed Jul 24 18:30:31 2002
@@ -9,6 +9,7 @@
 
 PORTNAME=	ppxp
 PORTVERSION=	2001080415
+PORTREVISION=	1
 .if defined(WITH_TCLJP)
 CATEGORIES+=	net tk80
 .else
@@ -37,7 +38,7 @@
 
 USE_XPM=	yes
 USE_GMAKE=	yes
-GNU_CONFIGURE=	yes
+USE_AUTOCONF=	yes
 .if defined(WITH_TCLJP)
 CONFIGURE_ARGS+= --with-tclsh=${PREFIX}/bin/tclsh8.0jp \
 		--with-wish=${PREFIX}/bin/wish8.0jp \
diff -ruN /usr/ports/net/ppxp/files/patch-ad ppxp/files/patch-ad
--- /usr/ports/net/ppxp/files/patch-ad	Thu Jan  1 09:00:00 1970
+++ ppxp/files/patch-ad	Wed Jul 24 18:33:28 2002
@@ -0,0 +1,13 @@
+--- configure.in.orig	Wed Jan 31 17:01:54 2001
++++ configure.in	Wed Jul 24 18:33:14 2002
+@@ -231,8 +231,8 @@
+     then
+ 	AC_DEFINE(HAVE_X11_FORMS)
+     fi
+-    AC_CHECK_LIB(forms, fl_bgn_form, LIBFORMS="-lforms",\
+-	LIBFORMS="-lxforms", $X_CFLAGS $X_LIBS -lX11 -lm)
++    AC_CHECK_LIB(forms, fl_bgn_form, LIBFORMS="-lforms -lXpm",\
++	LIBFORMS="-lxforms", $X_CFLAGS $X_LIBS -lXpm -lX11 -lm)
+     AC_SUBST(LIBFORMS)
+ fi
+ 
diff -ruN /usr/ports/net/ppxp/pkg-plist ppxp/pkg-plist
--- /usr/ports/net/ppxp/pkg-plist	Fri Jan 18 12:43:28 2002
+++ ppxp/pkg-plist	Wed Jul 24 18:41:46 2002
@@ -127,8 +127,8 @@
 share/doc/ppxp/ja/guide.html
 share/doc/tkppxp/README
 share/doc/xppxp/README
-share/nls/ja_JP.EUC/ppxp.cat
-share/nls/ja_JP.EUC/ppxpd.cat
+share/nls/ja_JP/ppxp.cat
+share/nls/ja_JP/ppxpd.cat
 share/ppxp/html/basic.html
 share/ppxp/html/help.html
 share/ppxp/html/index.html
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020726164249L.kunishi>