Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 1999 14:16:21 -0600 (CST)
From:      gljohns@bellsouth.net
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9844: Update of libProplistgnome/libProplist
Message-ID:  <199901312016.OAA50891@gforce.johnson.home>

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

>Number:         9844
>Category:       ports
>Synopsis:       Update of libProplistgnome/libProplist
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 31 12:20:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Glenn Johnson
>Release:        FreeBSD 3.0-STABLE i386
>Organization:
>Environment:

	

>Description:

        This is an update of libProplistgnome 0.7.1 to 0.8.3 for
use with some gnome applications and Window Maker. The gnome
and Window Maker versions have been combined into one version
so I would recommend that this be put into devel/libPropList to
replace devel/libPropListgnome. The enclosed diff is against
devel/libPropListgnome.

>How-To-Repeat:

	

>Fix:
	
        Apply the following diff to a copy of the devel/libPropListgnome
port, named devel/libPropList, to create a devel/libPropList port.

diff -ruN libPropListgnome/Makefile libPropList/Makefile
--- libPropListgnome/Makefile	Wed Jan 27 02:31:49 1999
+++ libPropList/Makefile	Sun Jan 31 13:10:21 1999
@@ -6,29 +6,16 @@
 # $Id: Makefile,v 1.2 1999/01/27 08:31:49 fenner Exp $
 #
 
-DISTNAME=	libPropList-0.7.1gnome
-PKGNAME=	libproplistgnome-0.7.1
+DISTNAME=	libPropList-0.8.3
+PKGNAME=	libproplist-0.8.3
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GNOME}
+
 MASTER_SITE_SUBDIR=	libPropList
 
 MAINTAINER=    gljohns@bellsouth.net
 
-WRKSRC=		${WRKDIR}/libPropList
 USE_X_PREFIX=	yes
+GNU_CONFIGURE=	yes
 
-.include <bsd.port.pre.mk>
-
-pre-build:
-	${CP} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile
-	bison -d ${WRKSRC}/proplist.y -o ${WRKSRC}/proplist.tab.c
-	flex -t -B ${WRKSRC}/proplist.l > ${WRKSRC}/lex.pl.c
-
-post-install:
-	@${INSTALL_DATA} ${WRKSRC}/proplist.h ${PREFIX}/include/proplistgnome.h
-	@if [ "${PORTOBJFORMAT}" = "aout" ]; then \
-	${LN} -sf libPropListgnome.so.1.0 ${PREFIX}/lib/libPropListgnome.so; \
-	fi
-	@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN libPropListgnome/files/md5 libPropList/files/md5
--- libPropListgnome/files/md5	Tue Dec  8 23:11:56 1998
+++ libPropList/files/md5	Sun Jan 31 13:06:13 1999
@@ -1 +1 @@
-MD5 (libPropList-0.7.1gnome.tar.gz) = c9c1347220765200d36f9644822f064c
+MD5 (libPropList-0.8.3.tar.gz) = ead0257bca9448d0ce1d4cdfecd65d1f
diff -ruN libPropListgnome/patches/patch-aa libPropList/patches/patch-aa
--- libPropListgnome/patches/patch-aa	Wed Dec 31 18:00:00 1969
+++ libPropList/patches/patch-aa	Sun Jan 31 13:06:02 1999
@@ -0,0 +1,25 @@
+--- ltconfig.orig	Thu Jan  7 23:01:56 1999
++++ ltconfig	Sun Jan 31 12:41:41 1999
+@@ -1201,7 +1201,7 @@
+     ;;
+ 
+   # FreeBSD 3, at last, uses gcc -shared to do shared libraries.
+-  freebsd3*)
++  freebsd3* | freebsd4*)
+     archive_cmds='$CC -shared -o $lib$libobjs$deplibs'
+     hardcode_libdir_flag_spec='-R$libdir'
+     hardcode_direct=yes
+@@ -1606,11 +1606,11 @@
+   shlibpath_var=PATH
+   ;;
+ 
+-freebsd2* | freebsd3*)
++freebsd2* | freebsd3* | freebsd4*)
+   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+   version_type=freebsd-$objformat
+   library_names_spec='${libname}${release}.so$versuffix $libname.so'
+-  finish_cmds='PATH="$PATH:/sbin" OBJFORMAT="$objformat" ldconfig -m $libdir'
++  finish_cmds='PATH="$PATH:/sbin" OBJFORMAT="$PORTOBJFORMAT" ldconfig -m $libdir'
+   shlibpath_var=LD_LIBRARY_PATH
+   ;;
+ 
diff -ruN libPropListgnome/pkg/COMMENT libPropList/pkg/COMMENT
--- libPropListgnome/pkg/COMMENT	Tue Dec  8 23:11:56 1998
+++ libPropList/pkg/COMMENT	Sun Jan 31 13:57:19 1999
@@ -1 +1 @@
-Property library for gnome
+Property library for gnome and Window Maker
diff -ruN libPropListgnome/pkg/PLIST libPropList/pkg/PLIST
--- libPropListgnome/pkg/PLIST	Sun Jan 31 13:03:35 1999
+++ libPropList/pkg/PLIST	Sun Jan 31 13:06:13 1999
@@ -1,6 +1,7 @@
-include/proplistgnome.h
-lib/libPropListgnome.a
-lib/libPropListgnome.so
-lib/libPropListgnome.so.1
+include/proplist.h
+lib/libPropList.so.1
+lib/libPropList.so
+lib/libPropList.la
+lib/libPropList.a
 @unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
 @exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
>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?199901312016.OAA50891>