Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2013 23:26:34 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        jpaetzel@freebsd.org
Subject:   ports/179128: [PATCH] graphics/Hermes: Convert to OptionsNG
Message-ID:  <20130530212638.F2CF8BC0@hub.freebsd.org>
Resent-Message-ID: <201305302130.r4ULU3Z7061289@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179128
>Category:       ports
>Synopsis:       [PATCH] graphics/Hermes: Convert to OptionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 30 21:30:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Tue Jan 29 15:02:50 EST 2013
>Description:

- Shorten header
- Convert to OptionsNG

Added file(s):
- files/patch-src-Makefile.in

Removed file(s):
- files/patch-aa

Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

Build log

https://redports.org/buildarchive/20130530202301-46110/

>Fix:

--- Hermes-1.3.3_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/Hermes/Makefile ./Makefile
--- /usr/ports/graphics/Hermes/Makefile	2013-01-14 17:57:00.000000000 +0100
+++ ./Makefile	2013-03-29 15:16:48.000000000 +0100
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	Hermes
-# Date created:				29 April 1999
-# Whom:					Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
 # $FreeBSD: head/graphics/Hermes/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 PORTNAME=	Hermes
 PORTVERSION=	1.3.3
@@ -33,7 +29,7 @@
 .endif
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for file in AUTHORS ChangeLog FAQ README TODO TODO.conversion
 	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
diff -ruN --exclude=CVS /usr/ports/graphics/Hermes/files/patch-aa ./files/patch-aa
--- /usr/ports/graphics/Hermes/files/patch-aa	2013-01-14 17:57:00.000000000 +0100
+++ ./files/patch-aa	1970-01-01 01:00:00.000000000 +0100
@@ -1,19 +0,0 @@
---- src/Makefile.in.orig	Mon Jul  7 00:56:57 2003
-+++ src/Makefile.in	Sun Aug 10 18:54:05 2003
-@@ -540,13 +540,13 @@
- 
- 
- .S.o:
--	gcc -c -o $@ $<
-+	$(CC) -c -o $@ $<
- 	cp $@ `echo $@ | sed -e 's/\.lo$$/.o/'`
- 
- install-data-local:
--	$(INSTALL) -m 0755 -d $(includedir)/Hermes
-+	$(mkinstalldirs) $(DESTDIR)$(includedir)/Hermes
- 	for incfile in $(publicheaders); do \
--	  $(INSTALL) -m 0644 $$incfile $(includedir)/Hermes; \
-+	  $(INSTALL_DATA) $$incfile $(includedir)/Hermes; \
- 	done
- 
- uninstall-local:
diff -ruN --exclude=CVS /usr/ports/graphics/Hermes/files/patch-src-Makefile.in ./files/patch-src-Makefile.in
--- /usr/ports/graphics/Hermes/files/patch-src-Makefile.in	1970-01-01 01:00:00.000000000 +0100
+++ ./files/patch-src-Makefile.in	2013-01-14 17:57:00.000000000 +0100
@@ -0,0 +1,19 @@
+--- src/Makefile.in.orig	Mon Jul  7 00:56:57 2003
++++ src/Makefile.in	Sun Aug 10 18:54:05 2003
+@@ -540,13 +540,13 @@
+ 
+ 
+ .S.o:
+-	gcc -c -o $@ $<
++	$(CC) -c -o $@ $<
+ 	cp $@ `echo $@ | sed -e 's/\.lo$$/.o/'`
+ 
+ install-data-local:
+-	$(INSTALL) -m 0755 -d $(includedir)/Hermes
++	$(mkinstalldirs) $(DESTDIR)$(includedir)/Hermes
+ 	for incfile in $(publicheaders); do \
+-	  $(INSTALL) -m 0644 $$incfile $(includedir)/Hermes; \
++	  $(INSTALL_DATA) $$incfile $(includedir)/Hermes; \
+ 	done
+ 
+ uninstall-local:
--- Hermes-1.3.3_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130530212638.F2CF8BC0>