ports/graphics/openrm/files/makeinclude.diff
Edwin Groothuis 8917c8e4e6 Update port: graphics/openrm 1.4.3 -> 1.5.0
Updating port 1.4.3 -> 1.5.0 details:
	1. Fixed contact emails
	2. Wrote patches for the port in a different manner
	(now it would be easier to submit them to openrm developers)
	Unfortunatly openrm has quite ugly building environment, so
	MAKE_ARGS still remain.
	3. Removed comments around pthread_setconcurrency in both
	library sources and one of demos. This function has been finally added
	to STABLE.

PR:		ports/56996
Submitted by:	Igor Pokrovsky <tiamat@comset.net>
2003-09-24 09:03:28 +00:00

35 lines
1,015 B
Diff

--- ../rmdemo/makeinclude.orig Sun Apr 13 01:03:18 2003
+++ ../rmdemo/makeinclude Fri Sep 19 01:06:08 2003
@@ -2,21 +2,21 @@
# autogenerated by configure
# on Sat Apr 12 14:03:02 PDT 2003
#
-RMHOME=/usr/local/rm150
-RMLIBS=-L/usr/local/rm150/lib -lrm -lrmaux -lrmv -lrmi
-RMCFLAGS=-DRM_X -I/usr/local/rm150/include
+RMHOME=%%PREFIX%%
+RMLIBS=-L%%PREFIX%%/lib -lrm -lrmaux -lrmv -lrmi
+RMCFLAGS=-DRM_X -I%%PREFIX%%/include
#
-OPENGLHOME=/usr
-OPENGLLIBS=-L/usr/lib -lGL -lGLU
-OPENGLCFLAGS=-I/usr/include
+OPENGLHOME=%%X11BASE%%
+OPENGLLIBS=-L%%X11BASE%%/lib -lGL -lGLU
+OPENGLCFLAGS=-I%%X11BASE%%/include
#
-X11HOME=/usr/X11R6
-X11LIBS=-L/usr/X11R6/lib -lXmu -lX11 -lpthread -lm
-X11CFLAGS=-I/usr/X11R6/include
+X11HOME=%%X11BASE%%
+X11LIBS=-L%%X11BASE%%/lib -lXmu -lX11 %%PTHREAD_LIBS%% -lm
+X11CFLAGS=-I%%X11BASE%%/include
#
OPTFLAGS=-g
ARCHFLAGS=-DLINUX
#
# Location of JPEG stuff on your machine
-JPEGLIB=-ljpeg
-JPEGINC=
+JPEGLIB=-L%%LOCALBASE%%/lib -ljpeg
+JPEGINC=-I%%LOCALBASE%%/include