freebsd-ports/biology/molden/files/patch-aa
Will Andrews fd97d4c549 Update to 3.6.
PR:		19091
Submitted by:	MAINTAINER
2000-06-07 16:59:47 +00:00

71 lines
1.4 KiB
Text

*** makefile.orig Mon Jan 24 23:28:24 2000
--- makefile Wed Jun 7 04:25:36 2000
***************
*** 12,19 ****
#
# Disregard compiler warnings on rdmolf.f
#
! CC = cc
! LIBS = -lX11 -lm
# Ultrix, Dec Alpha, Linux ( and best start for Unix other than below )
#
--- 12,37 ----
#
# Disregard compiler warnings on rdmolf.f
#
! #CC = cc
! #LIBS = -lX11 -lm
!
! ###
! # FreeBSD
! #CC = gcc
! CFLAGS += -c -DDOBACK -DHASTIMER -I/usr/X11R6/include
! #FC = f77
! .if ${MACHINE_ARCH} == i386
! FFLAGS += -malign-double
! CFLAGS += -malign-double
! .endif
! .if ${OSVERSION} < 400005
! FFLAGS += -Nn802 -Nx400
! .else
! FFLAGS += -Wno-globals -fno-globals
! .endif
! LIBS = -L/usr/X11R6/lib -lX11 -lm
! LDR = f77
! ###
# Ultrix, Dec Alpha, Linux ( and best start for Unix other than below )
#
***************
*** 49,57 ****
# Silicon Graphics
! CFLAGS = -c -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
! FFLAGS =
! LDR = f77
# AIX
#
--- 67,75 ----
# Silicon Graphics
! #CFLAGS = -c -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0
! #FFLAGS =
! #LDR = f77
# AIX
#
***************
*** 138,143 ****
--- 156,163 ----
# on linux with older Mesa installations try:
#LIBSG = -L/usr/X11R6/lib -lglut -lMesaGLU -lMesaGL -lXmu -lXi -lX11 -lm
#
+
+ all: molden
molden: $(OBJS) $(SOBJ) mpdum.o xwin.o
$(LDR) -o molden $(OBJS) $(SOBJ) mpdum.o xwin.o $(LIBS)