aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ayam
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-05-16 16:03:49 +0800
committerkrion <krion@FreeBSD.org>2004-05-16 16:03:49 +0800
commit4c866d0841cafe9874a64fcfbeeee70258890563 (patch)
tree7cc67cecb7b14277e87e7edec37fb6d634c7665c /graphics/ayam
parentf12a48dd2e70b70bf71023282d85c10ff87c4a5f (diff)
downloadfreebsd-ports-graphics-4c866d0841cafe9874a64fcfbeeee70258890563.tar.gz
freebsd-ports-graphics-4c866d0841cafe9874a64fcfbeeee70258890563.tar.zst
freebsd-ports-graphics-4c866d0841cafe9874a64fcfbeeee70258890563.zip
- Fix build
PR: ports/66680 Submitted by: maintainer
Diffstat (limited to 'graphics/ayam')
-rw-r--r--graphics/ayam/Makefile1
-rw-r--r--graphics/ayam/files/patch-Makefile.shared20
2 files changed, 13 insertions, 8 deletions
diff --git a/graphics/ayam/Makefile b/graphics/ayam/Makefile
index ac516271eb2..e54d61b2b40 100644
--- a/graphics/ayam/Makefile
+++ b/graphics/ayam/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ayam
PORTVERSION= 1.7
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/graphics/ayam/files/patch-Makefile.shared b/graphics/ayam/files/patch-Makefile.shared
index e797dc22c10..9bff2ec3086 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 Thu Apr 1 11:37:18 2004
++++ Makefile.shared Fri May 14 06:48:16 2004
@@ -4,7 +4,7 @@
# Makefile for Ayam (shared version)
@@ -96,21 +96,23 @@
# Aqsis
-AQSISDIR = /usr/local/aqsis
+-AQSISINCDIR = $(AQSISDIR)/include
+-AQSISLIBDIR = $(AQSISDIR)/lib
+AQSISDIR = ${LOCALBASE}
- AQSISINCDIR = $(AQSISDIR)/include
- AQSISLIBDIR = $(AQSISDIR)/lib
++AQSISINCDIR = $(AQSISDIR)/include/aqsis
++AQSISLIBDIR = $(AQSISDIR)/lib/aqsis
# 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 = $(AQSISDIR)/lib/libaqsis.so $(AQSISLIBDIR)/libshadervm.so $(AQSISLIBDIR)/libshaderexecenv.so $(AQSISLIBDIR)/libslxargs.so $(AQSISLIBDIR)/libaqsistypes.so -llog4cpp
++AQSISOBJS = -L${AQSISLIBDIR} $(AQSISDIR)/lib/libaqsis.so $(AQSISLIBDIR)/libshadervm.so $(AQSISLIBDIR)/libshaderexecenv.so $(AQSISLIBDIR)/libslxargs.so $(AQSISLIBDIR)/libaqsistypes.so -llog4cpp
# 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 ${LOCALBASE}/lib -llog4cpp ${PTHREAD_LIBS}
++AQSISRI2RIB = $(AQSISLIBDIR)/libri2rib.so -L${AQSISLIBDIR} -llog4cpp ${PTHREAD_LIBS}
# BMRT
@@ -138,12 +140,14 @@
# linker flags to produce shared modules:
# Linux, Solaris, IRIX:
-@@ -223,7 +228,7 @@
+@@ -222,8 +227,8 @@
+ RRIBLIBS = -L$(AFFINEDIR)/lib -lribrdr -lribhash -lribnop -lm
# Ayslx Plugin (Aqsis)
- AYSLXINCDIR = $(AQSISDIR)/include
+-AYSLXINCDIR = $(AQSISDIR)/include
-AYSLXLIBS = $(AQSISDIR)/lib/rcdummy.o $(AQSISDIR)/lib/libshadervm.so $(AQSISDIR)/lib/libshaderexecenv.so $(AQSISDIR)/lib/libslxargs.so $(AQSISDIR)/lib/libaqsistypes.so -L/usr/local/lib -llog4cpp
-+AYSLXLIBS = $(AQSISDIR)/lib/libaqsis.so $(AQSISDIR)/lib/libshadervm.so $(AQSISDIR)/lib/libshaderexecenv.so $(AQSISDIR)/lib/libslxargs.so $(AQSISDIR)/lib/libaqsistypes.so -L${LOCALBASE}/lib -llog4cpp
++AYSLXINCDIR = ${AQSISINCDIR}
++AYSLXLIBS = -L${AQSISLIBDIR} $(AQSISDIR)/lib/libaqsis.so $(AQSISDIR)/lib/libshadervm.so $(AQSISDIR)/lib/libshaderexecenv.so $(AQSISDIR)/lib/libslxargs.so $(AQSISDIR)/lib/libaqsistypes.so -L${LOCALBASE}/lib -llog4cpp
# Ayso Plugin (RenderDotC, RDC)
RDCDIR = /usr/local/rdc