ports/54396: Make biology/platon port honor CFLAGS and FFLAGS
Glenn Johnson
gjohnson at srrc.ars.usda.gov
Fri Jul 11 18:30:18 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list