summaryrefslogtreecommitdiffstats
path: root/graphics/megapov
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2004-04-13 03:31:01 +0000
committermaho <maho@FreeBSD.org>2004-04-13 03:31:01 +0000
commit9b8f6e98e306e28e34be4cf3fb1ba0720c39eabf (patch)
tree57c17445c94a3782dffab1521458d912be25c162 /graphics/megapov
parent4947e984dc3f0abd6fa29ffabd6105945661ceb4 (diff)
downloadFreeBSD-ports-9b8f6e98e306e28e34be4cf3fb1ba0720c39eabf.zip
FreeBSD-ports-9b8f6e98e306e28e34be4cf3fb1ba0720c39eabf.tar.gz
fix build on 5-current (later than 502103)
Submitted by: bento
Diffstat (limited to 'graphics/megapov')
-rw-r--r--graphics/megapov/Makefile4
-rw-r--r--graphics/megapov/files/patch-unix+Makefile11
2 files changed, 10 insertions, 5 deletions
diff --git a/graphics/megapov/Makefile b/graphics/megapov/Makefile
index 51011bb..bcedda0 100644
--- a/graphics/megapov/Makefile
+++ b/graphics/megapov/Makefile
@@ -39,10 +39,6 @@ CXXFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502103
-BROKEN= "Install fails on FreeBSD >= 5.x"
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
s|%%X11BASE%%|${X11BASE}|g ; \
diff --git a/graphics/megapov/files/patch-unix+Makefile b/graphics/megapov/files/patch-unix+Makefile
index c5211c6..453314f 100644
--- a/graphics/megapov/files/patch-unix+Makefile
+++ b/graphics/megapov/files/patch-unix+Makefile
@@ -1,5 +1,5 @@
--- unix/Makefile.orig Sun Dec 29 19:59:23 2002
-+++ unix/Makefile Sun Jul 27 21:02:31 2003
++++ unix/Makefile Tue Apr 13 12:23:58 2004
@@ -1,4 +1,4 @@
-##############################################################################
+#############################################################################
@@ -72,3 +72,12 @@
COMPILE_DISP = $(CC) $(DEFS) $(DEFS_ADD_DISP) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
COMPILE_NODISP = $(CC) $(DEFS) $(DEFS_ADD_NODISP) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
CCLD = $(CC)
+@@ -503,7 +503,7 @@
+ rm -f $(builddir)/*.o
+
+ install:
+- install --mode=0755 $(builddir)/megapov $(installdir)
++ install -m 0755 $(builddir)/megapov $(installdir)
+
+ FRAME=\
+ $(srcdir)/frame.h \
OpenPOWER on IntegriCloud