ports/96778: [patch] lang/smarteiffel

Gabor Kovesdan gabor.kovesdan at t-hosting.hu
Thu May 4 15:00:37 UTC 2006


>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:



More information about the freebsd-ports-bugs mailing list