ports/68776: Update port: graphics/ayam build error fix
Igor Pokrovsky
ip at doom.homeunix.org
Wed Jul 7 16:50:25 UTC 2004
>Number: 68776
>Category: ports
>Synopsis: Update port: graphics/ayam build error fix
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 07 16:50:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Igor Pokrovsky
>Release: FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Mon Jun 14 18:17:11 MSD 2004 root at doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386
>Description:
Adapt to change in aqsis port (includes and libs were moved).
>How-To-Repeat:
>Fix:
--- ayam.diff begins here ---
diff -ru /usr/ports/graphics/ayam/Makefile ayam/Makefile
--- /usr/ports/graphics/ayam/Makefile Wed Jul 7 10:40:23 2004
+++ ayam/Makefile Wed Jul 7 10:56:15 2004
@@ -31,12 +31,6 @@
AYAM_PLUGINS= csphere mfio
PLUGINS_DIR= ${PREFIX}/lib/${PORTNAME}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502112
-BROKEN= "Does not compile 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 +87,4 @@
${DOCSDIR}/html/pics
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ru /usr/ports/graphics/ayam/files/patch-Makefile.shared ayam/files/patch-Makefile.shared
--- /usr/ports/graphics/ayam/files/patch-Makefile.shared Mon Jun 21 06:20:57 2004
+++ ayam/files/patch-Makefile.shared Wed Jul 7 10:56:37 2004
@@ -1,5 +1,5 @@
--- Makefile.shared.orig Sat Mar 27 03:17:07 2004
-+++ Makefile.shared Tue Jun 15 15:38:05 2004
++++ Makefile.shared Wed Jul 7 10:55:22 2004
@@ -4,7 +4,7 @@
# Makefile for Ayam (shared version)
@@ -96,9 +96,11 @@
# 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 =
--- ayam.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list