Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2002 22:29:07 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/38217: Update: devel/libshhopt to 1.1.7
Message-ID:  <200205180529.g4I5T7RP067519@www.freebsd.org>

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

>Number:         38217
>Category:       ports
>Synopsis:       Update: devel/libshhopt to 1.1.7
>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:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.5-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.1.7

New file:
files/Makefile.lib

Remove file:
files/patch-aa

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/devel/libshhopt/Makefile devel/libshhopt/Makefile
--- /usr/ports/devel/libshhopt/Makefile	Thu May  9 06:36:14 2002
+++ devel/libshhopt/Makefile	Sat May 18 11:07:42 2002
@@ -7,24 +7,24 @@
 #
 
 PORTNAME=	libshhopt
-PORTVERSION=	1.1.6
+PORTVERSION=	1.1.7
 CATEGORIES=	devel
 MASTER_SITES=	http://shh.thathost.com/pub-unix/files/
 DISTNAME=	shhopt-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 
-USE_GMAKE=	yes
+MAKEFILE=	${FILESDIR}/Makefile.lib
 INSTALLS_SHLIB=	yes
 
 post-install:
 .if !defined(NOPORTDOCS)
-	@ ${MKDIR} ${PREFIX}/share/doc/libshhopt
-	@ ${INSTALL_DATA} ${WRKSRC}/CREDITS ${PREFIX}/share/doc/libshhopt
-	@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libshhopt
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/CREDITS ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+	@${MKDIR} ${EXAMPLESDIR}
+	${INSTALL_DATA} ${FILESDIR}/Makefile ${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/example.c ${EXAMPLESDIR}
 .endif
-	@ ${MKDIR} ${PREFIX}/share/examples/libshhopt
-	@ ${INSTALL_DATA} ${FILESDIR}/Makefile ${PREFIX}/share/examples/libshhopt
-	@ ${INSTALL_DATA} ${WRKSRC}/example.c ${PREFIX}/share/examples/libshhopt
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/libshhopt/distinfo devel/libshhopt/distinfo
--- /usr/ports/devel/libshhopt/distinfo	Tue Mar 21 10:11:03 2000
+++ devel/libshhopt/distinfo	Sat May 18 11:07:50 2002
@@ -1 +1 @@
-MD5 (shhopt-1.1.6.tar.gz) = 99a2bb2b25bd0fe97a32fc2c9d829fed
+MD5 (shhopt-1.1.7.tar.gz) = caf24206354296e8a48771aea1f47fbd
diff -urN /usr/ports/devel/libshhopt/files/Makefile.lib devel/libshhopt/files/Makefile.lib
--- /usr/ports/devel/libshhopt/files/Makefile.lib	Thu Jan  1 09:00:00 1970
+++ devel/libshhopt/files/Makefile.lib	Sat May 18 11:29:26 2002
@@ -0,0 +1,16 @@
+PREFIX?=	/usr/local
+SHLIB_VER?=	1
+
+LIB=	shhopt
+LIBDIR=	${PREFIX}/lib
+SHLIB_MAJOR=	${SHLIB_VER}
+SHLIB_MINOR=	1
+NOPROFILE=	yes
+NOOBJ=	yes
+
+INCS=	shhopt.h
+INCDIR=	${PREFIX}/include
+
+SRCS=	shhopt.c
+
+.include <bsd.lib.mk>
diff -urN /usr/ports/devel/libshhopt/files/patch-aa devel/libshhopt/files/patch-aa
--- /usr/ports/devel/libshhopt/files/patch-aa	Mon Apr 30 08:28:19 2001
+++ devel/libshhopt/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,61 +0,0 @@
---- Makefile.orig	Fri Mar 10 08:45:19 2000
-+++ Makefile	Sun Apr 29 23:26:59 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		= shhopt.o
-@@ -45,7 +45,7 @@
- # separately.  This error is harmless.
- $(LIBTARGET): $(LIBOBJS)
- ifeq ($(SHARED),1)
--	$(CC) -shared -Wl,-soname,$(LIBTARGETSOMAJ) -o $(LIBTARGET) $(LIBOBJS)
-+	$(CC) -shared -Wl,-soname,$(LIBTARGETSOMAJ) -o $(LIBTARGETSOMAJ) $(LIBOBJS)
- else
- 	ar rc $(LIBTARGET) $(LIBOBJS)
- 	ranlib $(LIBTARGET) || true
-@@ -64,12 +64,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/libshhopt/pkg-plist devel/libshhopt/pkg-plist
--- /usr/ports/devel/libshhopt/pkg-plist	Wed Nov 22 09:21:51 2000
+++ devel/libshhopt/pkg-plist	Sat May 18 11:10:32 2002
@@ -1,10 +1,11 @@
 @comment $FreeBSD: ports/devel/libshhopt/pkg-plist,v 1.3 2000/11/22 00:21:51 obrien Exp $
 include/shhopt.h
+lib/libshhopt.a
 lib/libshhopt.so
 lib/libshhopt.so.1
-share/doc/libshhopt/CREDITS
-share/doc/libshhopt/README
-share/examples/libshhopt/Makefile
-share/examples/libshhopt/example.c
-@dirrm share/doc/libshhopt
-@dirrm share/examples/libshhopt
+%%PORTDOCS%%share/doc/libshhopt/CREDITS
+%%PORTDOCS%%share/doc/libshhopt/README
+%%PORTDOCS%%share/examples/libshhopt/Makefile
+%%PORTDOCS%%share/examples/libshhopt/example.c
+%%PORTDOCS%%@dirrm share/examples/libshhopt
+%%PORTDOCS%%@dirrm share/doc/libshhopt

>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?200205180529.g4I5T7RP067519>