Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2002 22:28:24 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/38216: Update: devel/libshhmsg to 1.4.1
Message-ID:  <200205180528.g4I5SO07067454@www.freebsd.org>

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

>Number:         38216
>Category:       ports
>Synopsis:       Update: devel/libshhmsg to 1.4.1
>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 May 17 22:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.5-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.4.1

New file:
files/Makefile.lib

Remove file:
files/patch-aa

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/devel/libshhmsg/Makefile devel/libshhmsg/Makefile
--- /usr/ports/devel/libshhmsg/Makefile	Thu May  9 06:36:14 2002
+++ devel/libshhmsg/Makefile	Sat May 18 11:11:36 2002
@@ -7,21 +7,21 @@
 #
 
 PORTNAME=	libshhmsg
-PORTVERSION=	1.4.0
+PORTVERSION=	1.4.1
 CATEGORIES=	devel
 MASTER_SITES=	http://shh.thathost.com/pub-unix/files/
 DISTNAME=	shhmsg-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 
-USE_GMAKE=	yes
+MAKEFILE=	${FILESDIR}/Makefile.lib
 INSTALLS_SHLIB=	yes
 
 post-install:
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${PREFIX}/share/doc/libshhmsg
+	@${MKDIR} ${DOCSDIR}
 .for file in CREDITS README shhmsg.txt
-	@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/libshhmsg
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
 .endfor
 .endif
 
diff -urN /usr/ports/devel/libshhmsg/distinfo devel/libshhmsg/distinfo
--- /usr/ports/devel/libshhmsg/distinfo	Sat Apr  3 10:20:09 1999
+++ devel/libshhmsg/distinfo	Sat May 18 10:49:55 2002
@@ -1 +1 @@
-MD5 (shhmsg-1.4.0.tar.gz) = e4bfbcef3f067af49df865d2d40d0a5d
+MD5 (shhmsg-1.4.1.tar.gz) = de300150851786eb19cb9b9ad234d7a2
diff -urN /usr/ports/devel/libshhmsg/files/Makefile.lib devel/libshhmsg/files/Makefile.lib
--- /usr/ports/devel/libshhmsg/files/Makefile.lib	Thu Jan  1 09:00:00 1970
+++ devel/libshhmsg/files/Makefile.lib	Sat May 18 11:04:58 2002
@@ -0,0 +1,18 @@
+PREFIX?=	/usr/local
+SHLIB_VER?=	1
+
+LIB=	shhmsg
+LIBDIR=	${PREFIX}/lib
+SHLIB_MAJOR=	${SHLIB_VER}
+SHLIB_MINOR=	4
+NOPROFILE=	yes
+NOOBJ=	yes
+
+INCS=	shhmsg.h
+INCDIR=	${PREFIX}/include
+
+CFLAGS+=	-DHAVE_STRERROR
+
+SRCS=	errno.c error.c fatal.c message.c progname.c streams.c vars.c verbose.c
+
+.include <bsd.lib.mk>
diff -urN /usr/ports/devel/libshhmsg/files/patch-aa devel/libshhmsg/files/patch-aa
--- /usr/ports/devel/libshhmsg/files/patch-aa	Mon Apr 30 08:25:22 2001
+++ devel/libshhmsg/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,61 +0,0 @@
---- Makefile.orig	Tue Oct 13 18:11:42 1998
-+++ Makefile	Sun Apr 29 23:24:10 2001
-@@ -6,7 +6,7 @@
- VERSION		= $(VERMAJ).$(VERMIN).$(VERPAT)
- 
- # Define SHARED as 1 for Linux shared ELF library
--#SHARED		= 1
-+SHARED		= 1
- 
- ifeq ($(SHARED),1)
- LIBTARGET	= lib$(DIST).so.$(VERSION)
-@@ -20,19 +20,19 @@
- LIBHEAD		= $(DIST).h
- TARGETS		= $(LIBTARGET)
- 
--INSTBASEDIR	= /usr/local
-+INSTBASEDIR	= ${PREFIX}
- INSTLIBDIR	= $(INSTBASEDIR)/lib
- INSTINCDIR	= $(INSTBASEDIR)/include
--INSTALL		= install -m 644
--INSTALLPROG	= install -m 755
--MKDIRP		= install -d -m 755
-+INSTALL		= ${BSD_INSTALL_DATA}
-+INSTALLPROG	= ${BSD_INSTALL_PROGRAM}
-+MKDIRP		= mkdir -p
- 
--CC		= gcc
--OPTIM		= -O2
-+#CC		= gcc
-+OPTIM		= $(CFLAGS)
- 
- INCDIR		= -I.
- 
--CCOPT		= -s -Wall $(OPTIM) $(INCDIR)
-+CCOPT		= $(INCDIR) $(CFLAGS)
- 
- # Object files to store in the library
- LIBOBJS		= vars.o streams.o progname.o \
-@@ -43,7 +43,7 @@
- 
- $(LIBTARGET): $(LIBOBJS)
- ifeq ($(SHARED),1)
--	$(CC) -shared -Wl,-soname,$(LIBTARGETSOMAJ) -o $(LIBTARGET) $(LIBOBJS)
-+	$(CC) -shared -Wl,-soname,$(LIBTARGETSOMAJ) -o $(LIBTARGETSOMAJ) $(LIBOBJS)
- else
- 	ar rcs $(LIBTARGET) $(LIBOBJS)
- endif
-@@ -56,12 +56,10 @@
- 
- install: $(LIBTARGET)
- 	$(MKDIRP) $(INSTLIBDIR) $(INSTINCDIR)
--	$(INSTALL) $(LIBTARGET) $(INSTLIBDIR)
-+	$(INSTALL) $(LIBTARGETSOMAJ) $(INSTLIBDIR)
- 	$(INSTALL) $(LIBHEAD) $(INSTINCDIR)
- ifeq ($(SHARED),1)
--	ln -sf $(LIBTARGET) $(INSTLIBDIR)/$(LIBTARGETSOMAJ)
- 	ln -sf $(LIBTARGETSOMAJ) $(INSTLIBDIR)/$(LIBTARGETSO)
--	echo "If you use GNU/Linux, remember to run ldconfig"
- endif
- 
- clean:
diff -urN /usr/ports/devel/libshhmsg/pkg-plist devel/libshhmsg/pkg-plist
--- /usr/ports/devel/libshhmsg/pkg-plist	Wed Nov 22 09:21:51 2000
+++ devel/libshhmsg/pkg-plist	Sat May 18 11:31:53 2002
@@ -1,8 +1,9 @@
 @comment $FreeBSD: ports/devel/libshhmsg/pkg-plist,v 1.3 2000/11/22 00:21:51 obrien Exp $
 include/shhmsg.h
+lib/libshhmsg.a
 lib/libshhmsg.so
 lib/libshhmsg.so.1
-share/doc/libshhmsg/CREDITS
-share/doc/libshhmsg/README
-share/doc/libshhmsg/shhmsg.txt
-@dirrm share/doc/libshhmsg
+%%PORTDOCS%%share/doc/libshhmsg/CREDITS
+%%PORTDOCS%%share/doc/libshhmsg/README
+%%PORTDOCS%%share/doc/libshhmsg/shhmsg.txt
+%%PORTDOCS%%@dirrm share/doc/libshhmsg

>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?200205180528.g4I5SO07067454>