diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2004-11-26 17:46:53 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2004-11-26 17:46:53 +0000 |
commit | 27d3805815c2d2dae186d306b1ae7e00e22acf04 (patch) | |
tree | 12f670a3467d5e96699848ad6404bab82f51251e /graphics/ayam | |
parent | 10a5227ab0298e5831310c530971573b663f88f7 (diff) | |
download | ports-27d3805815c2d2dae186d306b1ae7e00e22acf04.tar.gz ports-27d3805815c2d2dae186d306b1ae7e00e22acf04.zip |
Notes
Diffstat (limited to 'graphics/ayam')
-rw-r--r-- | graphics/ayam/Makefile | 12 | ||||
-rw-r--r-- | graphics/ayam/files/patch-Makefile.shared | 19 |
2 files changed, 17 insertions, 14 deletions
diff --git a/graphics/ayam/Makefile b/graphics/ayam/Makefile index ce8c0652d512..cb19c34bc12a 100644 --- a/graphics/ayam/Makefile +++ b/graphics/ayam/Makefile @@ -19,8 +19,10 @@ COMMENT= 3D modeling environment for the RenderMan interface LIB_DEPENDS= aqsis.0:${PORTSDIR}/graphics/aqsis \ tcl82.1:${PORTSDIR}/lang/tcl82 \ tk82.1:${PORTSDIR}/x11-toolkits/tk82 \ - tiff.4:${PORTSDIR}/graphics/tiff + tiff.4:${PORTSDIR}/graphics/tiff \ + log4cpp.4:${PORTSDIR}/devel/log4cpp +USE_GCC= 3.4 USE_GL= yes USE_X_PREFIX= yes USE_REINPLACE= yes @@ -31,12 +33,6 @@ MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" AYAM_PLUGINS= csphere mfio PLUGINS_DIR= ${PREFIX}/lib/${PORTNAME} -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not build on FreeBSD >= 5.x" -.endif - post-patch: @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/tcl/ayam.tcl @${REINPLACE_CMD} -e 's|^MF3DCFLAGS =|MF3DCFLAGS = -fPIC|g' \ @@ -93,4 +89,4 @@ do-install: ${DOCSDIR}/html/pics .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/ayam/files/patch-Makefile.shared b/graphics/ayam/files/patch-Makefile.shared index 07f8139a4f03..15827e772529 100644 --- a/graphics/ayam/files/patch-Makefile.shared +++ b/graphics/ayam/files/patch-Makefile.shared @@ -1,5 +1,5 @@ --- Makefile.shared.orig Sat Mar 27 03:17:07 2004 -+++ Makefile.shared Wed Jul 7 10:55:22 2004 ++++ Makefile.shared Tue Oct 5 21:43:30 2004 @@ -4,7 +4,7 @@ # Makefile for Ayam (shared version) @@ -9,7 +9,7 @@ #PREFIX = /opt/ayam # if you use one of the following, be sure to change LIBDIR # and DOCDIR to a more suitable (Ayam specific) path -@@ -34,7 +34,7 @@ +@@ -34,14 +34,14 @@ MKDIR = mkdir -p # the compiler @@ -18,6 +18,14 @@ #CC = gcc # the linker + # Starting with BMRT2.5, libribout and libslcargs are in C++, + # which forces us to use "CC" or "g++" to link the right libraries + # automatically +-LD = CC ++LD = ${CC} + # for Linux, use + #LD = g++ + # MacOSX @@ -68,7 +68,8 @@ # o add -DAYOLDSLX if you compile with an Aqsis libslxargs prior to 0.7.19 # o add -DUSE_NON_CONST if you compile with Tcl/Tk 8.4.x @@ -97,22 +105,21 @@ # Aqsis -AQSISDIR = /usr/local/aqsis -AQSISINCDIR = $(AQSISDIR)/include --AQSISLIBDIR = $(AQSISDIR)/lib +AQSISDIR = ${LOCALBASE} +AQSISINCDIR = $(AQSISDIR)/include/aqsis -+AQSISLIBDIR = $(AQSISDIR)/lib + AQSISLIBDIR = $(AQSISDIR)/lib # if you do not use Aqsis libslxargs as libslcargs replacement: -AQSISOBJS = +#AQSISOBJS = # if you use Aqsis libslxargs (add -DAYUSESLXARGS to CFLAGS!): -#AQSISOBJS = $(AQSISLIBDIR)/rcdummy.o $(AQSISLIBDIR)/libshadervm.so $(AQSISLIBDIR)/libshaderexecenv.so $(AQSISLIBDIR)/libslxargs.so $(AQSISLIBDIR)/libaqsistypes.so -L /usr/local/lib -llog4cpp -+AQSISOBJS = $(AQSISLIBDIR)/libaqsis.so $(AQSISLIBDIR)/libshadervm.so $(AQSISLIBDIR)/libshaderexecenv.so $(AQSISLIBDIR)/libslxargs.so $(AQSISLIBDIR)/libaqsistypes.so -llog4cpp ++AQSISOBJS = $(AQSISLIBDIR)/libaqsis.a $(AQSISLIBDIR)/libshadervm.so $(AQSISLIBDIR)/libshaderexecenv.so $(AQSISLIBDIR)/libslxargs.so $(AQSISLIBDIR)/libaqsistypes.so -L${LOCALBASE}/lib $(AQSISLIBDIR)/libraytrace.so -llog4cpp -lstdc++ # if you do not use Aqsis libri2rib as BMRT libribout replacement: #AQSISRI2RIB = # if you use Aqsis libri2rib (add -DAYUSEAQSISRIB to CFLAGS above!): -AQSISRI2RIB = $(AQSISLIBDIR)/libri2rib.so -L /usr/local/lib -llog4cpp -+AQSISRI2RIB = $(AQSISLIBDIR)/libri2rib.so -L${AQSISLIBDIR} -llog4cpp ${PTHREAD_LIBS} ++AQSISRI2RIB = $(AQSISLIBDIR)/libri2rib.so -L${AQSISLIBDIR} -llog4cpp -lstdc++ ${PTHREAD_LIBS} # BMRT |