aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-07-08 03:17:19 +0800
committerkrion <krion@FreeBSD.org>2004-07-08 03:17:19 +0800
commit67f5cc3cb4577707d69ebee30cac90554b8910fe (patch)
treede8451607feee76d6a75b82a729edf70959e177c
parent99e53936124a7c1d1661a7316ba5e6916852b91a (diff)
downloadfreebsd-ports-gnome-67f5cc3cb4577707d69ebee30cac90554b8910fe.tar.gz
freebsd-ports-gnome-67f5cc3cb4577707d69ebee30cac90554b8910fe.tar.zst
freebsd-ports-gnome-67f5cc3cb4577707d69ebee30cac90554b8910fe.zip
Fix build on 5-x
PR: ports/68776 Submitted by: maintainer
-rw-r--r--graphics/ayam/Makefile8
-rw-r--r--graphics/ayam/files/patch-Makefile.shared8
2 files changed, 6 insertions, 10 deletions
diff --git a/graphics/ayam/Makefile b/graphics/ayam/Makefile
index c118c4bb6bc3..e54d61b2b402 100644
--- a/graphics/ayam/Makefile
+++ b/graphics/ayam/Makefile
@@ -31,12 +31,6 @@ MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
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 @@ 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 9e4e1610460c..2467992d6ade 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 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 =