ports/165362: [patch] x11-toolkits/swt-devel: restore lost PORTEPOCH
Conrad J. Sabatier
conrads at cox.net
Tue Feb 21 14:30:12 UTC 2012
>Number: 165362
>Category: ports
>Synopsis: [patch] x11-toolkits/swt-devel: restore lost PORTEPOCH
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 21 14:30:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Conrad J. Sabatier
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD serene.no-ip.org 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sun Feb 12 19:15:46 CST 2012 conrads at serene.no-ip.org:/usr/obj/usr/src/sys/CUSTOM amd64
>Description:
The patch I originally submitted to update swt-devel to version
3.7.1 was missing PORTEPOCH, resulting in faulty versioning.
This patch restores PORTEPOCH.
>How-To-Repeat:
N/A
>Fix:
patch below
--- swt-devel.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/swt-devel/Makefile,v
retrieving revision 1.33
diff -u -r1.33 Makefile
--- Makefile 20 Feb 2012 17:20:52 -0000 1.33
+++ Makefile 21 Feb 2012 14:01:46 -0000
@@ -7,6 +7,7 @@
PORTNAME= swt
DISTVERSION= 3.7.1
+PORTEPOCH= 1
CATEGORIES= x11-toolkits devel java
MASTER_SITES= ECLIPSE
MASTER_SITE_SUBDIR= R-${DISTVERSION}-201109091335
@@ -47,6 +48,10 @@
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 900044
+USE_ZIP= yes
+.endif
+
.if defined(WITH_CAIRO)
LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo
PLIST_FILES+= lib/libswt-cairo-gtk-%%BUILD%%.so
--- swt-devel.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list