aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2006-09-17 19:51:56 +0800
committermaho <maho@FreeBSD.org>2006-09-17 19:51:56 +0800
commitb27d92bb529c48c03451dd68f6cef2f5d883d6ce (patch)
treefc807e18e8dcb5605920e5e20ea066ff4527e3ff /biology
parent9421587713dacc38ced8a113ae23e4cc547dc423 (diff)
downloadfreebsd-ports-graphics-b27d92bb529c48c03451dd68f6cef2f5d883d6ce.tar.gz
freebsd-ports-graphics-b27d92bb529c48c03451dd68f6cef2f5d883d6ce.tar.zst
freebsd-ports-graphics-b27d92bb529c48c03451dd68f6cef2f5d883d6ce.zip
Fix build on amd64
Submitted by: kris
Diffstat (limited to 'biology')
-rw-r--r--biology/pymol/Makefile2
-rw-r--r--biology/pymol/files/patch-Rules.make6
2 files changed, 4 insertions, 4 deletions
diff --git a/biology/pymol/Makefile b/biology/pymol/Makefile
index 4d22170ccaa..c8093945d6f 100644
--- a/biology/pymol/Makefile
+++ b/biology/pymol/Makefile
@@ -27,7 +27,7 @@ USE_PYTHON= yes
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+.if ${ARCH} == "ia64"
BROKEN= Does not build on ${ARCH}
.endif
diff --git a/biology/pymol/files/patch-Rules.make b/biology/pymol/files/patch-Rules.make
index dd4425e2be0..7091e92ddf7 100644
--- a/biology/pymol/files/patch-Rules.make
+++ b/biology/pymol/files/patch-Rules.make
@@ -1,5 +1,5 @@
---- Rules.make.org Sat Jul 1 12:28:37 2006
-+++ Rules.make Sat Jul 1 12:30:55 2006
+--- Rules.make.orig Sun Sep 17 20:42:52 2006
++++ Rules.make Sun Sep 17 20:48:26 2006
@@ -4,27 +4,27 @@
#
#- Building ----------------------------------------------------------
@@ -42,7 +42,7 @@
DEST = -o modules/pymol/_cmd.so
#--- Gcc Options for Linux
-CCOPT1 = -march=i486 -D__i686__ -ffast-math -Wall -ansi -Wmissing-prototypes
-+CCOPT1 = @CFLAGS@ #-march=i486 -D__i686__ -ffast-math -Wall -ansi -Wmissing-prototypes
++CCOPT1 = @PICFLAG@ @CFLAGS@ #-march=i486 -D__i686__ -ffast-math -Wall -ansi -Wmissing-prototypes
#--- libraries for PyOpenGL
PYOGL_LIB = -lglut -lGL -lGLU -lXmu -lXi
#---------------------------------------------------------------------