Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2003 13:22:10 -0500 (CDT)
From:      Glenn Johnson <gjohnson@srrc.ars.usda.gov>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/54396: Make biology/platon port honor CFLAGS and FFLAGS
Message-ID:  <200307111822.h6BIMAhq085984@node1.cluster.srrc.usda.gov>
Resent-Message-ID: <200307111830.h6BIUGle061831@freefall.freebsd.org>

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

>Number:         54396
>Category:       ports
>Synopsis:       Make biology/platon port honor CFLAGS and FFLAGS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 11 11:30:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Glenn Johnson
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD node1.cluster.srrc.usda.gov 5.1-CURRENT FreeBSD 5.1-CURRENT #12: Mon Jul 7 14:09:12 CDT 2003 root@node1.cluster.srrc.usda.gov:/usr/obj/usr/src/sys/CLUSTER-FW i386


	
>Description:
	The attached patch will make the biology/platon port honor CFLAGS and 
	FFLAGS if they are already set.
>How-To-Repeat:
	
>Fix:

	

--- platon.patch begins here ---
diff -ruN platon.orig/Makefile platon/Makefile
--- platon.orig/Makefile	Fri Jul 11 12:30:13 2003
+++ platon/Makefile	Fri Jul 11 12:31:14 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	platon
 PORTVERSION=	2001.03.09
+PORTREVISION=	1
 CATEGORIES=	biology
 MASTER_SITES=	ftp://xraysoft.chem.uu.nl/pub/unix/
 DISTNAME=	platon
diff -ruN platon.orig/files/Makefile platon/files/Makefile
--- platon.orig/files/Makefile	Fri Jul 11 12:30:13 2003
+++ platon/files/Makefile	Fri Jul 11 12:30:30 2003
@@ -5,11 +5,11 @@
 TARGET=	platon
 OBJS=	platon.o xdrvr.o
 .if ${OSVERSION} >= 400018
-FOPT=
+FOPT=	${FFLAGS}
 .else
-FOPT=	-Nx800 -NL400 -Nn802
+FOPT=	${FFLAGS} -Nx800 -NL400 -Nn802
 .endif
-COPT=	-I%%X11BASE%%/include
+COPT=	${CFLAGS} -I%%X11BASE%%/include
 LOPT=	-L%%X11BASE%%/lib -lX11
 .if defined(HAVE_G2C)
 LOPT+=	-lg2c
--- platon.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?200307111822.h6BIMAhq085984>