diff --git a/net/pure-ftpd/Makefile b/net/pure-ftpd/Makefile index 5b7b2836299..a68ede4f6f1 100644 --- a/net/pure-ftpd/Makefile +++ b/net/pure-ftpd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2002/02/22 03:14:33 brad Exp $ +# $OpenBSD: Makefile,v 1.9 2002/03/07 19:32:13 lebel Exp $ COMMENT= "small, easy to set up, fast and very secure FTP server" @@ -19,6 +19,11 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes +# XXX workaround sparc64 gcc optimization bug +.if ${MACHINE_ARCH:Msparc64} +PATCH_LIST= gcc-* patch-* +.endif + SEPARATE_BUILD= concurrent CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= --with-everything \ diff --git a/net/pure-ftpd/patches/gcc-src_Makefile_in b/net/pure-ftpd/patches/gcc-src_Makefile_in new file mode 100644 index 00000000000..338193300f9 --- /dev/null +++ b/net/pure-ftpd/patches/gcc-src_Makefile_in @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig Fri Feb 15 16:17:31 2002 ++++ src/Makefile.in Thu Mar 7 07:42:24 2002 +@@ -937,7 +937,7 @@ + @AMDEP_TRUE@ source='crypto-sha1.c' object='pure_ftpd-crypto-sha1.o' libtool=no @AMDEPBACKSLASH@ + @AMDEP_TRUE@ depfile='$(DEPDIR)/pure_ftpd-crypto-sha1.Po' tmpdepfile='$(DEPDIR)/pure_ftpd-crypto-sha1.TPo' @AMDEPBACKSLASH@ + @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +- $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pure_ftpd_CFLAGS) $(CFLAGS) -c -o pure_ftpd-crypto-sha1.o `test -f crypto-sha1.c || echo '$(srcdir)/'`crypto-sha1.c ++ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pure_ftpd_CFLAGS) $(CFLAGS) -O0 -c -o pure_ftpd-crypto-sha1.o `test -f crypto-sha1.c || echo '$(srcdir)/'`crypto-sha1.c + + pure_ftpd-crypto-sha1.obj: crypto-sha1.c + @AMDEP_TRUE@ source='crypto-sha1.c' object='pure_ftpd-crypto-sha1.obj' libtool=no @AMDEPBACKSLASH@