aboutsummaryrefslogtreecommitdiff
path: root/science/medit/files
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2006-09-24 23:09:26 +0000
committerThierry Thomas <thierry@FreeBSD.org>2006-09-24 23:09:26 +0000
commitbf460149a7340a6044c949c5a535822c5a0116e5 (patch)
tree5b0272628bed8d76a6d1691dc24fed4ee0487084 /science/medit/files
parentbe0aa65e4675f38b3e155ca529cc750d08f22a11 (diff)
downloadports-bf460149a7340a6044c949c5a535822c5a0116e5.tar.gz
ports-bf460149a7340a6044c949c5a535822c5a0116e5.zip
Notes
Diffstat (limited to 'science/medit/files')
-rw-r--r--science/medit/files/patch-makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/science/medit/files/patch-makefile b/science/medit/files/patch-makefile
new file mode 100644
index 000000000000..1feffe06e74f
--- /dev/null
+++ b/science/medit/files/patch-makefile
@@ -0,0 +1,27 @@
+--- makefile.orig Tue Apr 11 13:05:23 2006
++++ makefile Sun Sep 24 16:43:05 2006
+@@ -4,6 +4,7 @@
+ default:
+ @echo "Type one of the following:"
+ @echo " make macosx for Apple Mac OS X"
++ @echo " make FreeBSD for FreeBSD"
+ @echo " make linux for Linux on Intel systems"
+ @echo " make win32 for Windows XP"
+ @echo " make hpux10 for HP systems with HPUX 10.x w/OpenGL"
+@@ -23,6 +24,16 @@
+ "GLUT_LIB = -framework GLUT \
+ -framework OpenGL -framework Cocoa" \
+ "EXEDIR = /Applications/medit.app/Contents/MacOS"
++
++FreeBSD:
++ $(MAKE) $(MFLAGS) -f Makefile.arch \
++ "prog = medit" \
++ "INCDIR = -I. -I$(WRKSRC)/sources -I$(X11BASE)/include" \
++ "XLIBS = -L$(X11BASE)/lib -lXmu -lXext -lX11" \
++ "GL_LIB = -lGL" \
++ "GLU_LIB = -lGLU" \
++ "GLUT_LIB = -lglut" \
++ "EXEDIR = $(WRKSRC)/bin/$(ARCH)/$(OSREL)"
+
+ linux:
+ $(MAKE) $(MFLAGS) -f Makefile.arch \