Skip to content
Permalink
Browse files

update to 1.9.9

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@15445 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Dec 12, 2005
1 parent 3d82824 commit 51b618dc016e333c76ab21b19aa172e02e2c8196
Showing with 14 additions and 17 deletions.
  1. +6 −9 devel/libsockets/Portfile
  2. +8 −8 devel/libsockets/files/{patch-darwin-Makefile → patch-Makefile}
@@ -1,9 +1,9 @@
# $Id: Portfile,v 1.12 2005/08/30 09:31:59 mww Exp $
# $Id: Portfile,v 1.13 2005/12/12 12:13:59 mww Exp $

PortSystem 1.0

name libsockets
version 1.9.5
version 1.9.9
categories devel net
platforms darwin
maintainers mww@opendarwin.org
@@ -16,7 +16,8 @@ master_sites ${homepage}:tar \
distfiles uuid.h:header \
Sockets-${version}.tar.gz:tar
checksums uuid.h md5 f7e7d521202d499bc0761ec2bc9516a5 \
Sockets-${version}.tar.gz md5 918120416e3397629c06b20d6bcf1917
Sockets-${version}.tar.gz md5 f375bd3328e3ac5f0a171e3524c6605b
patchfiles patch-Makefile

depends_lib port:openssl

@@ -27,14 +28,10 @@ post-extract {
file copy ${distpath}/uuid.h ${worksrcpath}
}

variant darwin {
patchfiles patch-darwin-Makefile
}

use_configure no

build.args PREFIX=${prefix}
build.env CFLAGS=-I${prefix}/include \
LDFLAGS=-L${prefix}/lib
build.env CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib

destroot.destdir PREFIX=${destroot}${prefix}

@@ -1,6 +1,6 @@
--- Makefile 2005-08-30 09:22:22.000000000 +0200
+++ Makefile 2005-08-30 11:03:10.000000000 +0200
@@ -11,7 +11,7 @@
--- work/Sockets-1.9.9/Makefile 2005-11-17 00:04:47.000000000 +0100
+++ Makefile 2005-12-12 13:09:29.000000000 +0100
@@ -12,7 +12,7 @@

# uncomment depending on your operating system
#CFLAGS += -DLINUX
@@ -9,18 +9,18 @@
# solaris > 8
#CFLAGS += -DSOLARIS
# solaris 8
@@ -33,7 +33,7 @@
@@ -35,7 +35,7 @@

PROGS =

-all: libSockets.a $(PROGS) libSocketsEx.a Sockets-config
-all: libSockets.a $(PROGS) libSocketsEx.a Sockets-config
+all: libSockets.a $(PROGS) libSocketsEx.a Sockets-config libSockets.$(VERSION).dylib

Sockets-config: Sockets-config.o
g++ -o $@ $^
@@ -82,14 +82,19 @@
ar cru $@ $(EX)
ranlib $@
@@ -89,14 +89,19 @@
/usr/local/bin/d2html > \
$(HTDOCS)/Sockets/latest_diff.html

+libSockets.$(VERSION).dylib: $(OBJS) $(EX)
+ g++ -dynamiclib $(OBJS) $(LDFLAGS) -lssl -lcrypto -o $@ -install_name $(PREFIX)/lib/$@ -current_version $(VERSION) -compatibility_version $(VERSION)

0 comments on commit 51b618d

Please sign in to comment.
You can’t perform that action at this time.