Bug 113550 - [PATCH] update textproc/expat2 to 2.0.1
Summary: [PATCH] update textproc/expat2 to 2.0.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jun Kuriyama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-11 05:00 UTC by bf
Modified: 2008-04-11 15:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bf 2007-06-11 05:00:09 UTC
diff -ruN expat2.orig/Makefile expat2/Makefile
--- expat2.orig/Makefile	Thu Feb 23 05:39:20 2006
+++ expat2/Makefile	Sun Jun 10 21:59:15 2007
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	expat
-PORTVERSION=	2.0.0
-PORTREVISION=	1
+PORTVERSION=	2.0.1
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	expat
@@ -18,19 +17,19 @@
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
 ALL_TARGET=	default
-INSTALLS_SHLIB=	yes
+USE_LDCONFIG=	yes
 MAN1=		xmlwf.1
 
 SHLIB_MAJOR=	6
 
 MAKE_ENV=	LIBCURRENT="${SHLIB_MAJOR}" \
-		SHELL="/bin/sh"
+		SHELL=${SH}
 PLIST_SUB=	SHLIB_MAJOR="${SHLIB_MAJOR}"
 
 list-depend-ports:
 	cd ${PORTSDIR}; \
-	find . -mindepth 3 -maxdepth 3 -name Makefile -execdir sh -c \
-		'find . -type f | grep -v CVS | xargs grep -q expat.5' \; \
+	${FIND} . -mindepth 3 -maxdepth 3 -name Makefile -execdir ${SH} -c \
+		'${FIND} . -type f | ${GREP} -v CVS | ${XARGS} ${GREP} -q expat.5' \; \
 		-print
 
 .include <bsd.port.mk>
diff -ruN expat2.orig/distinfo expat2/distinfo
--- expat2.orig/distinfo	Mon Jan 30 18:18:23 2006
+++ expat2/distinfo	Sun Jun 10 21:36:47 2007
@@ -1,3 +1,3 @@
-MD5 (expat-2.0.0.tar.gz) = d945df7f1c0868c5c73cf66ba9596f3f
-SHA256 (expat-2.0.0.tar.gz) = c4280eb80fa8e14b3f204b1d0ec67af66fa04c4f9dae9c78a1a8ee4c6f485ddd
-SIZE (expat-2.0.0.tar.gz) = 450860
+MD5 (expat-2.0.1.tar.gz) = ee8b492592568805593f81f8cdf2a04c
+SHA256 (expat-2.0.1.tar.gz) = 847660b4df86e707c9150e33cd8c25bc5cd828f708c7418e765e3e983a2e5e93
+SIZE (expat-2.0.1.tar.gz) = 446456
diff -ruN expat2.orig/files/patch-Makefile.in expat2/files/patch-Makefile.in
--- expat2.orig/files/patch-Makefile.in	Mon Jan 30 18:18:23 2006
+++ expat2/files/patch-Makefile.in	Sun Jun 10 21:36:47 2007
@@ -1,14 +1,11 @@
---- Makefile.in.orig	Thu Jan 12 00:28:02 2006
-+++ Makefile.in	Thu Jan 12 00:28:10 2006
-@@ -44,9 +44,9 @@
+--- Makefile.in.orig	Sun Jun 10 21:10:33 2007
++++ Makefile.in	Sun Jun 10 21:11:18 2007
+@@ -44,8 +44,6 @@
  APIHEADER = $(srcdir)/lib/expat.h $(srcdir)/lib/expat_external.h
  LIBRARY = libexpat.la
  
--ifndef INSTALL_ROOT
-+#ifndef INSTALL_ROOT
- INSTALL_ROOT=$(DESTDIR)
--endif
-+#endif
- 
+-DESTDIR = $(INSTALL_ROOT)
+-
  default:  buildlib xmlwf/xmlwf
  
+ buildlib: $(LIBRARY)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-06-11 05:00:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kuriyama

Over to maintainer
Comment 2 bf 2007-06-11 05:49:47 UTC
Minor tweak of last patch: no effective difference,
just eliminates a small redundancy.

bf

diff -ruN expat2.orig/Makefile expat2/Makefile
--- expat2.orig/Makefile	Thu Feb 23 05:39:20 2006
+++ expat2/Makefile	Mon Jun 11 00:43:03 2007
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	expat
-PORTVERSION=	2.0.0
-PORTREVISION=	1
+PORTVERSION=	2.0.1
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	expat
@@ -18,19 +17,18 @@
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=
--build=${ARCH}-portbld-freebsd${OSREL}
 ALL_TARGET=	default
-INSTALLS_SHLIB=	yes
+USE_LDCONFIG=	yes
 MAN1=		xmlwf.1
 
 SHLIB_MAJOR=	6
 
-MAKE_ENV=	LIBCURRENT="${SHLIB_MAJOR}" \
-		SHELL="/bin/sh"
-PLIST_SUB=	SHLIB_MAJOR="${SHLIB_MAJOR}"
+MAKE_ENV+=	LIBCURRENT="${SHLIB_MAJOR}" 
+PLIST_SUB+=	SHLIB_MAJOR="${SHLIB_MAJOR}"
 
 list-depend-ports:
 	cd ${PORTSDIR}; \
-	find . -mindepth 3 -maxdepth 3 -name Makefile
-execdir sh -c \
-		'find . -type f | grep -v CVS | xargs grep -q
expat.5' \; \
+	${FIND} . -mindepth 3 -maxdepth 3 -name Makefile
-execdir ${SH} -c \
+		'${FIND} . -type f | ${GREP} -v CVS | ${XARGS}
${GREP} -q expat.5' \; \
 		-print
 
 .include <bsd.port.mk>
diff -ruN expat2.orig/distinfo expat2/distinfo
--- expat2.orig/distinfo	Mon Jan 30 18:18:23 2006
+++ expat2/distinfo	Mon Jun 11 00:43:03 2007
@@ -1,3 +1,3 @@
-MD5 (expat-2.0.0.tar.gz) =
d945df7f1c0868c5c73cf66ba9596f3f
-SHA256 (expat-2.0.0.tar.gz) =
c4280eb80fa8e14b3f204b1d0ec67af66fa04c4f9dae9c78a1a8ee4c6f485ddd
-SIZE (expat-2.0.0.tar.gz) = 450860
+MD5 (expat-2.0.1.tar.gz) =
ee8b492592568805593f81f8cdf2a04c
+SHA256 (expat-2.0.1.tar.gz) =
847660b4df86e707c9150e33cd8c25bc5cd828f708c7418e765e3e983a2e5e93
+SIZE (expat-2.0.1.tar.gz) = 446456
diff -ruN expat2.orig/files/patch-Makefile.in
expat2/files/patch-Makefile.in
--- expat2.orig/files/patch-Makefile.in	Mon Jan 30
18:18:23 2006
+++ expat2/files/patch-Makefile.in	Mon Jun 11 00:43:03
2007
@@ -1,14 +1,11 @@
---- Makefile.in.orig	Thu Jan 12 00:28:02 2006
-+++ Makefile.in	Thu Jan 12 00:28:10 2006
-@@ -44,9 +44,9 @@
+--- Makefile.in.orig	Sun Jun 10 21:10:33 2007
++++ Makefile.in	Sun Jun 10 21:11:18 2007
+@@ -44,8 +44,6 @@
  APIHEADER = $(srcdir)/lib/expat.h
$(srcdir)/lib/expat_external.h
  LIBRARY = libexpat.la
  
--ifndef INSTALL_ROOT
-+#ifndef INSTALL_ROOT
- INSTALL_ROOT=$(DESTDIR)
--endif
-+#endif
- 
+-DESTDIR = $(INSTALL_ROOT)
+-
  default:  buildlib xmlwf/xmlwf
  
+ buildlib: $(LIBRARY)





       
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2008-04-11 14:51:11 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2008-04-11 14:57:41 UTC
pav         2008-04-11 13:57:34 UTC

  FreeBSD ports repository

  Modified files:
    textproc/expat2      Makefile distinfo 
    textproc/expat2/files patch-Makefile.in 
  Log:
  - Update to 2.0.1
  
  PR:             ports/113550
  Submitted by:   bf <bf2006a@yahoo.com>
  Approved by:    maintainer timeout (kuriyama; 10 months)
  
  Revision  Changes    Path
  1.33      +5 -7      ports/textproc/expat2/Makefile
  1.13      +3 -3      ports/textproc/expat2/distinfo
  1.4       +6 -9      ports/textproc/expat2/files/patch-Makefile.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"