1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
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

72 lines
1.4 KiB
Plaintext

*** 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)