From a3d7fb3476ee47021c1193b35da5f3d36c8e3cda Mon Sep 17 00:00:00 2001 From: Maho Nakata Date: Tue, 13 Apr 2004 03:31:01 +0000 Subject: [PATCH] fix build on 5-current (later than 502103) Submitted by: bento --- graphics/megapov/Makefile | 4 ---- graphics/megapov/files/patch-unix+Makefile | 11 ++++++++++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/graphics/megapov/Makefile b/graphics/megapov/Makefile index 51011bb8e722..bcedda0110e1 100644 --- a/graphics/megapov/Makefile +++ b/graphics/megapov/Makefile @@ -39,10 +39,6 @@ CXXFLAGS+= -mcpu=i686 -march=i686 -mfancy-math-387 .include -.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 c5211c6127ee..453314f13165 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 \