aboutsummaryrefslogtreecommitdiff
path: root/graphics/xrml
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /graphics/xrml
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
Notes
Diffstat (limited to 'graphics/xrml')
-rw-r--r--graphics/xrml/Makefile5
-rw-r--r--graphics/xrml/files/patch-Config.site8
2 files changed, 6 insertions, 7 deletions
diff --git a/graphics/xrml/Makefile b/graphics/xrml/Makefile
index 80e1541887c7..7545a25dd6c6 100644
--- a/graphics/xrml/Makefile
+++ b/graphics/xrml/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xrml
PORTVERSION= 0.5.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.cs.kuleuven.ac.be/pub/graphics/software/RenderPark/
DISTNAME= ${PORTNAME}
@@ -19,7 +19,6 @@ COMMENT= Extensible scene graph library based on VRML'97
WRKSRC= ${WRKDIR}/${PORTNAME:U}
USE_GMAKE= yes
-USE_X_PREFIX= yes
USE_GL= yes
USE_MOTIF= yes
USE_LDCONFIG= yes
@@ -43,7 +42,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ; \
s|%%CXX%%|${CXX}|g ; \
s|%%CXXFLAGS%%|${CXXFLAGS}|g ; \
- s|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/Config.site
+ s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Config.site
pre-build:
${GMAKE} -C ${WRKSRC}/FILTERS link_includes
diff --git a/graphics/xrml/files/patch-Config.site b/graphics/xrml/files/patch-Config.site
index 9c1cd76a67a7..bdde6e7a9aef 100644
--- a/graphics/xrml/files/patch-Config.site
+++ b/graphics/xrml/files/patch-Config.site
@@ -42,8 +42,8 @@
# and /usr/lib normally on recent Linux systems
-DRIVERFLAGS = -I/usr/include $(HWFLAGS)
-DRIVERLIBS = -L/usr/lib -lGLU -lGL
-+DRIVERFLAGS = -I${X11BASE}/include $(HWFLAGS)
-+DRIVERLIBS = -L${X11BASE}/lib -lGLU -lGL
++DRIVERFLAGS = -I${LOCALBASE}/include $(HWFLAGS)
++DRIVERLIBS = -L${LOCALBASE}/lib -lGLU -lGL
# Mesa (free OpenGL-like library: www.mesa3d.org)
# On recent systems, 'MesaGL' is installed as 'GL' and 'MesaGLU' as 'GLU' and
@@ -52,13 +52,13 @@
# X window system flags and files:
-X11HOME = /usr/X11R6
-+X11HOME = ${X11BASE}
++X11HOME = ${LOCALBASE}
XINCLUDES = -I$(X11HOME)/include
XLIBS = -L$(X11HOME)/lib -lXt -lXmu -lX11 $(CCMALLOCLIB)
# CCMALLOCLIB = -lccmalloc -ldl
-# MOTIFHOME = /usr/X11R6
-+MOTIFHOME = ${X11BASE}
++MOTIFHOME = ${LOCALBASE}
# lesstif:
-MOTIFHOME = /usr/X11R6/LessTif/Motif1.2
+#MOTIFHOME = /usr/X11R6/LessTif/Motif1.2