Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2000 16:40:07 +0300 (MSK)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/17488: Update port: devel/libshhopt
Message-ID:  <200003191340.QAA10349@icc.surw.chel.su>

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

>Number:         17488
>Category:       ports
>Synopsis:       Update port: devel/libshhopt
>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:   Sun Mar 19 05:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Release:        FreeBSD 3.4-RELEASE i386
>Organization:
South Ural Railway ICC
>Environment:

>Description:

   This is a patch to update devel/libshhopt port.


diff -Nru libshhopt/Makefile libshhopt-1.1.6/Makefile
--- libshhopt/Makefile	Sat Sep 25 02:13:00 1999
+++ libshhopt-1.1.6/Makefile	Sun Mar 19 16:25:59 2000
@@ -1,17 +1,15 @@
 # New ports collection makefile for:	libshhopt
-# Version required:			1.1.5
+# Version required:			1.1.6
 # Date created:				11 April 1998
 # Whom:					Andrey Zakhvatov
 #
 # $FreeBSD: ports/devel/libshhopt/Makefile,v 1.3 1999/09/24 13:54:41 andy Exp $
 #
 
-DISTNAME=		shhopt-1.1.5
-PKGNAME=		libshhopt-1.1.5
+DISTNAME=		shhopt-1.1.6
+PKGNAME=		libshhopt-1.1.6
 CATEGORIES=		devel
-MASTER_SITES=		${MASTER_SITE_SUNSITE} \
-			http://home.sol.no/~sverrehu/pub-unix/files/
-MASTER_SITE_SUBDIR=	libs
+MASTER_SITES=		http://home.sol.no/~sverrehu/pub-unix/files/
 
 MAINTAINER=		andy@icc.surw.chel.su
 
diff -Nru libshhopt/files/md5 libshhopt-1.1.6/files/md5
--- libshhopt/files/md5	Sat Sep 25 02:13:00 1999
+++ libshhopt-1.1.6/files/md5	Sun Mar 19 16:26:08 2000
@@ -1 +1 @@
-MD5 (shhopt-1.1.5.tar.gz) = cc32c7f43ff1e5f0ea45569c4234c1fc
+MD5 (shhopt-1.1.6.tar.gz) = 99a2bb2b25bd0fe97a32fc2c9d829fed
diff -Nru libshhopt/patches/patch-aa libshhopt-1.1.6/patches/patch-aa
--- libshhopt/patches/patch-aa	Sat Sep 25 02:13:00 1999
+++ libshhopt-1.1.6/patches/patch-aa	Sun Mar 19 16:34:34 2000
@@ -1,76 +1,48 @@
-*** Makefile	Fri Sep 10 23:19:48 1999
---- /home/andy/tmp/wrk/Makefile	Fri Sep 24 17:47:46 1999
-***************
-*** 6,15 ****
-  VERSION		= $(VERMAJ).$(VERMIN).$(VERPAT)
-  
-  # Define SHARED as 1 for Linux shared ELF library
-! #SHARED		= 1
-  
-  ifeq ($(SHARED),1)
-! LIBTARGET	= lib$(DIST).so.$(VERSION)
-  LIBTARGETSO	= lib$(DIST).so
-  LIBTARGETSOMAJ	= $(LIBTARGETSO).$(VERMAJ)
-  CCSHRD		= -fPIC
---- 6,15 ----
-  VERSION		= $(VERMAJ).$(VERMIN).$(VERPAT)
-  
-  # Define SHARED as 1 for Linux shared ELF library
-! SHARED		= 1
-  
-  ifeq ($(SHARED),1)
-! LIBTARGET	= lib$(DIST).so.$(VERMAJ)
-  LIBTARGETSO	= lib$(DIST).so
-  LIBTARGETSOMAJ	= $(LIBTARGETSO).$(VERMAJ)
-  CCSHRD		= -fPIC
-***************
-*** 20,33 ****
-  LIBHEAD		= $(DIST).h
-  TARGETS		= $(LIBTARGET)
-  
-! INSTBASEDIR	= /usr/local
-  INSTLIBDIR	= $(INSTBASEDIR)/lib
-  INSTINCDIR	= $(INSTBASEDIR)/include
-! INSTALL		= install -m 644
-! INSTALLPROG	= install -m 755
-  MKDIRP		= install -d -m 755
-  
-! CC		= gcc
-  OPTIM		= -O2
-  
-  INCDIR		= -I.
---- 20,34 ----
-  LIBHEAD		= $(DIST).h
-  TARGETS		= $(LIBTARGET)
-  
-! PREFIX		?= /usr/local
-! INSTBASEDIR	= $(PREFIX)
-  INSTLIBDIR	= $(INSTBASEDIR)/lib
-  INSTINCDIR	= $(INSTBASEDIR)/include
-! INSTALL		= install -c -m 644
-! INSTALLPROG	= install -c -m 755
-  MKDIRP		= install -d -m 755
-  
-! CC		?= gcc
-  OPTIM		= -O2
-  
-  INCDIR		= -I.
-***************
-*** 67,75 ****
-  	$(INSTALL) $(LIBTARGET) $(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:
---- 68,74 ----
-  	$(INSTALL) $(LIBTARGET) $(INSTLIBDIR)
-  	$(INSTALL) $(LIBHEAD) $(INSTINCDIR)
-  ifeq ($(SHARED),1)
-! 	ln -sf $(LIBTARGET) $(INSTLIBDIR)/$(LIBTARGETSO)
-  endif
-  
-  clean:
+--- Makefile	Fri Mar 10 11:45:19 2000
++++ /home/andy/tmp/wrk/Makefile	Sun Mar 19 16:34:15 2000
+@@ -6,10 +6,10 @@
+ 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)
++LIBTARGET	= lib$(DIST).so.$(VERMAJ)
+ LIBTARGETSO	= lib$(DIST).so
+ LIBTARGETSOMAJ	= $(LIBTARGETSO).$(VERMAJ)
+ CCSHRD		= -fPIC
+@@ -20,15 +20,16 @@
+ LIBHEAD		= $(DIST).h
+ TARGETS		= $(LIBTARGET)
+ 
+-INSTBASEDIR	= /usr/local
++PREFIX		?= /usr/local
++INSTBASEDIR	= $(PREFIX)
+ INSTLIBDIR	= $(INSTBASEDIR)/lib
+ INSTINCDIR	= $(INSTBASEDIR)/include
+-INSTALL		= install -m 644
+-INSTALLPROG	= install -m 755
++INSTALL		= install -c -m 644
++INSTALLPROG	= install -c -m 755
+ MKDIRP		= install -d -m 755
+ 
+-CC		= gcc
+-OPTIM		= -O2
++CC		?= gcc
++OPTIM		= $(CFLAGS)
+ 
+ INCDIR		= -I.
+ 
+@@ -67,9 +68,7 @@
+ 	$(INSTALL) $(LIBTARGET) $(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"
++	ln -sf $(LIBTARGET) $(INSTLIBDIR)/$(LIBTARGETSO)
+ endif
+ 
+ clean:
diff -Nru libshhopt/pkg/DESCR libshhopt-1.1.6/pkg/DESCR
--- libshhopt/pkg/DESCR	Sat Apr  3 05:15:54 1999
+++ libshhopt-1.1.6/pkg/DESCR	Sun Mar 19 16:28:25 2000
@@ -1,3 +1,5 @@
 shhopt - library for parsing command line options. It contains
 C-functions for parsing command line options, both traditional
 one-character options, and GNU'ish --long-options.
+
+WWW: http://home.sol.no/~sverrehu/pub-unix/


>How-To-Repeat:

>Fix:

   Please, check and apply this patch.

>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?200003191340.QAA10349>