mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Update to version 1.1.5
This commit is contained in:
parent
159f91124c
commit
33c11413f4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21913
@ -1,19 +1,21 @@
|
||||
# New ports collection makefile for: libshhopt
|
||||
# Version required: 1.1.4
|
||||
# Version required: 1.1.5
|
||||
# Date created: 11 April 1998
|
||||
# Whom: Andrey Zakhvatov
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
DISTNAME= shhopt-1.1.4
|
||||
PKGNAME= libshhopt-1.1.4
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://home.sol.no/~sverrehu/pub-unix/files/
|
||||
DISTNAME= shhopt-1.1.5
|
||||
PKGNAME= libshhopt-1.1.5
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
||||
http://home.sol.no/~sverrehu/pub-unix/files/
|
||||
MASTER_SITE_SUBDIR= libs
|
||||
|
||||
MAINTAINER= andy@icc.surw.chel.su
|
||||
MAINTAINER= andy@icc.surw.chel.su
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
post-install:
|
||||
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
||||
|
@ -1 +1 @@
|
||||
MD5 (shhopt-1.1.4.tar.gz) = 20b619bc5f4c17e2292578cd4a0e4e20
|
||||
MD5 (shhopt-1.1.5.tar.gz) = cc32c7f43ff1e5f0ea45569c4234c1fc
|
||||
|
@ -1,37 +1,76 @@
|
||||
--- Makefile.orig Sun Jul 5 12:08:59 1998
|
||||
+++ Makefile Fri Apr 2 15:15:59 1999
|
||||
@@ -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
|
||||
@@ -23,8 +23,8 @@
|
||||
INSTBASEDIR = /usr/local
|
||||
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
|
||||
@@ -67,9 +67,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:
|
||||
*** 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:
|
||||
|
Loading…
Reference in New Issue
Block a user