1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

fix build on 5-current (later than 502103)

Submitted by:	bento
This commit is contained in:
Maho Nakata 2004-04-13 03:31:01 +00:00
parent ed39d2c53b
commit a3d7fb3476
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106862
2 changed files with 10 additions and 5 deletions

View File

@ -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 ; \

View File

@ -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 \