Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  4 May 2006 16:54:41 +0200 (CEST)
From:      Gabor Kovesdan <gabor.kovesdan@t-hosting.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Gabor Kovesdan <gabor.kovesdan@t-hosting.hu>
Subject:   ports/96778: [patch] lang/smarteiffel
Message-ID:  <20060504145441.16C35998FFF@server.t-hosting.hu>
Resent-Message-ID: <200605041500.k44F0Wft067268@freefall.freebsd.org>

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

>Number:         96778
>Category:       ports
>Synopsis:       [patch] lang/smarteiffel
>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 04 15:00:32 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gabor Kovesdan
>Release:        FreeBSD 5.3-RELEASE-p17 amd64
>Organization:
n/a
>Environment:
>Description:

- Respect CFLAGS and CXXFLAGS
- Bump PORTREVISION

>How-To-Repeat:
>Fix:

--- smarteiffel.diff begins here ---
Index: lang/smarteiffel/Makefile
===================================================================
RCS file: /usr/cvs/ports/lang/smarteiffel/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- lang/smarteiffel/Makefile	18 Mar 2006 15:57:50 -0000	1.13
+++ lang/smarteiffel/Makefile	4 May 2006 14:51:52 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	smarteiffel
 DISTVERSION=	1.2r6
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	http://except.com.ar/downloads/smarteiffel/
 DISTNAME=	SmartEiffel-${DISTVERSION}
@@ -30,6 +31,14 @@
 
 SUB_FILES=	pkg-install pkg-message
 
+post-patch:
+.if defined(CFLAGS)
+	${REINPLACE_CMD} 's|^.*c_compiler_options:.*$$|c_compiler_options: ${CFLAGS}|' ${WRKSRC}/install/gcc.rc
+.endif
+.if defined(CXXFLAGS)
+	${REINPLACE_CMD} 's|^.*cpp_compiler_options:.*$$|cpp_compiler_options: ${CXXFLAGS}|' ${WRKSRC}/install/gcc.rc
+.endif
+
 # Make sure we can set the symbolic link SmartEiffel
 # to the actual release directory.
 do-install:
--- smarteiffel.diff ends here ---


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



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