Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2000 19:34:11 -0500 (EST)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/16847: fix port: devel/doxygen: respect CC [PATCH]
Message-ID:  <20000221003411.962501B1D@shadow.blackdawn.com>

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

>Number:         16847
>Category:       ports
>Synopsis:       fix port: devel/doxygen: respect CC [PATCH]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 20 17:10:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
none
>Environment:

FreeBSD shadow.blackdawn.com 3.4-STABLE FreeBSD 3.4-STABLE #0: Sun Jan 23 13:41:02 EST 2000     root@shadow.blackdawn.com:/usr/src/sys/compile/SHADOW  i386

>Description:

This fixes doxygen to respect CC. Also makes it put USE_QT in a proper
location in the Makefile.

>How-To-Repeat:

Use the diff below to fix the current port.

>Fix:

Index: Makefile
===================================================================
RCS file: /extra/cvsroot/ports/devel/doxygen/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	1999/08/25 05:47:51	1.2
+++ Makefile	2000/01/29 22:37:58
@@ -15,10 +15,14 @@
 
 WRKSRC=		${WRKDIR}/doxygen-0.4
 
-USE_QT=		YES
-
-USE_PERL5=	YES
+USE_QT=		yes
+USE_PERL5=	yes
 MAKE_ARGS=	freebsd-g++
+MAKE_ENV+=	CC="${CC}" CXX="${CXX}"
+
+pre-configure:
+	${PERL} -pi -e "s:gcc:${CC}:g" ${WRKSRC}/tmake/lib/freebsd-g++/tmake.conf
+	${PERL} -pi -e "s:g\+\+:\${CXX}:g" ${WRKSRC}/tmake/lib/freebsd-g++/tmake.conf
 
 do-configure:
 	cd ${WRKSRC}/src; \

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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