SHARED_LIBS
This commit is contained in:
parent
d3486d6b6e
commit
34b5784985
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2004/10/25 09:02:53 wilfried Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2006/01/07 19:45:35 bernd Exp $
|
||||
# $FreeBSD: /repoman/r/pcvs/ports/devel/nspr/Makefile,v 1.13 2003/12/13 21:30:19 peter Exp $
|
||||
|
||||
# currently only supporting i386, but alpha sparc sparc64 are possible
|
||||
@ -8,6 +8,11 @@ COMMENT= "Netscape Portable Runtime"
|
||||
|
||||
VER= 4.4.1
|
||||
DISTNAME= nspr-${VER}
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
SHARED_LIBS= nspr4 1.0 \
|
||||
plc4 1.0 \
|
||||
plds4 1.0
|
||||
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://www.mozilla.org/projects/nspr/index.html
|
||||
@ -30,6 +35,10 @@ CONFIGURE_STYLE= autoconf no-autoheader
|
||||
CONFIGURE_ARGS+= --disable-debug \
|
||||
--with-pthreads
|
||||
|
||||
MAKE_ENV= LIBnspr4_VERSION=${LIBnspr4_VERSION} \
|
||||
LIBplc4_VERSION=${LIBplc4_VERSION} \
|
||||
LIBplds4_VERSION=${LIBplds4_VERSION}
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
WRKSRC= ${WRKDIST}/mozilla/nsprpub
|
||||
|
12
devel/nspr/patches/patch-mozilla_nsprpub_config_rules_mk
Normal file
12
devel/nspr/patches/patch-mozilla_nsprpub_config_rules_mk
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-mozilla_nsprpub_config_rules_mk,v 1.1 2006/01/07 19:45:35 bernd Exp $
|
||||
--- mozilla/nsprpub/config/rules.mk.orig Wed May 14 03:23:49 2003
|
||||
+++ mozilla/nsprpub/config/rules.mk Sat Jan 7 19:41:37 2006
|
||||
@@ -122,7 +122,7 @@ ifeq ($(OS_ARCH)$(OS_RELEASE), AIX4.1)
|
||||
SHARED_LIBRARY = $(OBJDIR)/lib$(LIBRARY_NAME)$(LIBRARY_VERSION)_shr.a
|
||||
else
|
||||
ifdef MKSHLIB
|
||||
-SHARED_LIBRARY = $(OBJDIR)/lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
|
||||
+SHARED_LIBRARY = $(OBJDIR)/lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX).$(SHARED_LIBRARY_VERSION)
|
||||
endif
|
||||
endif
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-mozilla_nsprpub_configure_in,v 1.2 2004/10/25 09:02:53 wilfried Exp $
|
||||
$OpenBSD: patch-mozilla_nsprpub_configure_in,v 1.3 2006/01/07 19:45:35 bernd Exp $
|
||||
--- mozilla/nsprpub/configure.in.orig Tue Nov 25 01:09:04 2003
|
||||
+++ mozilla/nsprpub/configure.in Fri Oct 22 16:14:35 2004
|
||||
@@ -1483,6 +1483,9 @@ mips-sony-newsos*)
|
||||
+++ mozilla/nsprpub/configure.in Sat Jan 7 19:51:07 2006
|
||||
@@ -1483,19 +1483,18 @@ mips-sony-newsos*)
|
||||
AC_DEFINE(XP_UNIX)
|
||||
AC_DEFINE(OPENBSD)
|
||||
AC_DEFINE(HAVE_BSD_FLOCK)
|
||||
@ -10,8 +10,9 @@ $OpenBSD: patch-mozilla_nsprpub_configure_in,v 1.2 2004/10/25 09:02:53 wilfried
|
||||
+ AC_DEFINE(_PR_HAVE_GETPROTO_R_INT)
|
||||
CFLAGS="$CFLAGS -ansi -Wall"
|
||||
CXXFLAGS="$CXXFLAGS -ansi -Wall"
|
||||
DLL_SUFFIX=so.1.0
|
||||
@@ -1490,12 +1493,8 @@ mips-sony-newsos*)
|
||||
- DLL_SUFFIX=so.1.0
|
||||
+ DLL_SUFFIX=so
|
||||
DSO_CFLAGS=-fPIC
|
||||
MDCPUCFG_H=_openbsd.cfg
|
||||
PR_MD_CSRCS=openbsd.c
|
||||
USE_NSPR_THREADS=1
|
||||
|
11
devel/nspr/patches/patch-mozilla_nsprpub_lib_ds_Makefile_in
Normal file
11
devel/nspr/patches/patch-mozilla_nsprpub_lib_ds_Makefile_in
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-mozilla_nsprpub_lib_ds_Makefile_in,v 1.1 2006/01/07 19:45:35 bernd Exp $
|
||||
--- mozilla/nsprpub/lib/ds/Makefile.in.orig Sat Jan 7 19:31:56 2006
|
||||
+++ mozilla/nsprpub/lib/ds/Makefile.in Sat Jan 7 19:33:04 2006
|
||||
@@ -120,6 +120,7 @@ endif
|
||||
|
||||
LIBRARY_NAME = plds
|
||||
LIBRARY_VERSION = $(MOD_MAJOR_VERSION)
|
||||
+SHARED_LIBRARY_VERSION = $(LIB$(LIBRARY_NAME)$(LIBRARY_VERSION)_VERSION)
|
||||
|
||||
RELEASE_HEADERS = $(HEADERS)
|
||||
RELEASE_HEADERS_DEST = $(RELEASE_INCLUDE_DIR)
|
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-mozilla_nsprpub_lib_libc_src_Makefile_in,v 1.1 2006/01/07 19:45:35 bernd Exp $
|
||||
--- mozilla/nsprpub/lib/libc/src/Makefile.in.orig Sat Jan 7 19:57:53 2006
|
||||
+++ mozilla/nsprpub/lib/libc/src/Makefile.in Sat Jan 7 19:56:04 2006
|
||||
@@ -65,6 +65,7 @@ CSRCS =\
|
||||
|
||||
LIBRARY_NAME = plc
|
||||
LIBRARY_VERSION = $(MOD_MAJOR_VERSION)
|
||||
+SHARED_LIBRARY_VERSION = $(LIB$(LIBRARY_NAME)$(LIBRARY_VERSION)_VERSION)
|
||||
|
||||
RELEASE_LIBS = $(TARGETS)
|
||||
|
11
devel/nspr/patches/patch-mozilla_nsprpub_pr_src_Makefile_in
Normal file
11
devel/nspr/patches/patch-mozilla_nsprpub_pr_src_Makefile_in
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-mozilla_nsprpub_pr_src_Makefile_in,v 1.1 2006/01/07 19:45:35 bernd Exp $
|
||||
--- mozilla/nsprpub/pr/src/Makefile.in.orig Sat Jan 7 20:27:01 2006
|
||||
+++ mozilla/nsprpub/pr/src/Makefile.in Sat Jan 7 20:26:47 2006
|
||||
@@ -326,6 +326,7 @@ endif
|
||||
|
||||
LIBRARY_NAME = nspr
|
||||
LIBRARY_VERSION = $(MOD_MAJOR_VERSION)
|
||||
+SHARED_LIBRARY_VERSION = $(LIB$(LIBRARY_NAME)$(LIBRARY_VERSION)_VERSION)
|
||||
|
||||
RELEASE_LIBS = $(TARGETS)
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.2 2004/08/10 07:25:38 espie Exp $
|
||||
@lib lib/libnspr4.so.1.0
|
||||
@lib lib/libplc4.so.1.0
|
||||
@lib lib/libplds4.so.1.0
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.3 2006/01/07 19:45:35 bernd Exp $
|
||||
@lib lib/libnspr4.so.${LIBnspr4_VERSION}
|
||||
@lib lib/libplc4.so.${LIBplc4_VERSION}
|
||||
@lib lib/libplds4.so.${LIBplds4_VERSION}
|
||||
|
Loading…
Reference in New Issue
Block a user