svn commit: r363976 - in head/devel/nspr: . files
Baptiste Daroussin
bapt at FreeBSD.org
Mon Aug 4 09:03:54 UTC 2014
Author: bapt
Date: Mon Aug 4 09:03:53 2014
New Revision: 363976
URL: http://svnweb.freebsd.org/changeset/ports/363976
QAT: https://qat.redports.org/buildarchive/r363976/
Log:
Rename patches
Add cpe informations
Added:
head/devel/nspr/files/patch-..::config::autoconf.mk.in (contents, props changed)
head/devel/nspr/files/patch-..::configure (contents, props changed)
Deleted:
head/devel/nspr/files/patch-..__config__autoconf.mk.in
head/devel/nspr/files/patch-..__configure
Modified:
head/devel/nspr/Makefile
Modified: head/devel/nspr/Makefile
==============================================================================
--- head/devel/nspr/Makefile Mon Aug 4 08:54:10 2014 (r363975)
+++ head/devel/nspr/Makefile Mon Aug 4 09:03:53 2014 (r363976)
@@ -11,7 +11,9 @@ COMMENT= Platform-neutral API for system
WRKSRC= ${WRKDIR}/${DISTNAME}/nspr/build
-USES= gmake
+USES= cpe gmake
+CPE_VENDOR= mozilla
+CPE_PRODUCT= netscape_portable_runtime
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT=../configure
Added: head/devel/nspr/files/patch-..::config::autoconf.mk.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/nspr/files/patch-..::config::autoconf.mk.in Mon Aug 4 09:03:53 2014 (r363976)
@@ -0,0 +1,11 @@
+--- ../config/autoconf.mk.in.orig Wed Oct 17 02:31:02 2001
++++ ../config/autoconf.mk.in Thu Aug 8 19:22:44 2002
+@@ -17,7 +17,7 @@
+ dist_includedir = @dist_includedir@
+ dist_libdir = @dist_libdir@
+
+-DIST = $(dist_prefix)
++DIST ?= $(dist_prefix)
+
+ RELEASE_OBJDIR_NAME = @RELEASE_OBJDIR_NAME@
+ OBJDIR_NAME = @OBJDIR_NAME@
Added: head/devel/nspr/files/patch-..::configure
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/nspr/files/patch-..::configure Mon Aug 4 09:03:53 2014 (r363976)
@@ -0,0 +1,29 @@
+--- ../configure.orig 2012-02-14 20:06:00.000000000 +0100
++++ ../configure 2012-02-17 17:14:27.862323726 +0100
+@@ -4035,11 +4035,8 @@ EOF
+ EOF
+
+ CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall"
+- MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf`
+- if test "$MOZ_OBJFORMAT" = "elf"; then
+- DLL_SUFFIX=so
+- else
+- DLL_SUFFIX=so.1.0
++ if test -z "$MOZILLA_CLIENT"; then
++ DLL_SUFFIX=so.1
+ fi
+ MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
+ DSO_CFLAGS=-fPIC
+@@ -6271,11 +6271,9 @@
+ #define _THREAD_SAFE 1
+ EOF
+
+ if test "$ac_cv_have_dash_pthread" = "yes"; then
+ _PTHREAD_LDFLAGS="-pthread"
+- else
+- _PTHREAD_LDFLAGS="-lc_r"
+ fi
+ ;;
+ *-netbsd*)
+ if test "$ac_cv_have_dash_pthread" = "yes"; then
+
More information about the svn-ports-all
mailing list