- workaround the specific files that cause ICE's on sparc64 instead of compiling the whole thing without optimization.
- add bits for regress framework
This commit is contained in:
parent
6bc861748e
commit
be813c9b84
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.25 2001/10/11 07:41:22 wilfried Exp $
|
||||
# $OpenBSD: Makefile,v 1.26 2001/10/24 20:45:43 brad Exp $
|
||||
|
||||
COMMENT= "portable speedy lossless data compression library"
|
||||
|
||||
@ -24,10 +24,13 @@ MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/acconfig
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ARGS+= --enable-static
|
||||
|
||||
# Internal Compiler Error
|
||||
.if ${MACHINE_ARCH} == "sparc64"
|
||||
CONFIGURE_ARGS+= --enable-debug
|
||||
PATCH_LIST= patch-* sup-sparc64
|
||||
.endif
|
||||
|
||||
REGRESS_TARGET= test
|
||||
|
||||
post-patch:
|
||||
@cd ${WRKSRC}/acconfig; \
|
||||
${PATCH} --forward --quiet -E < \
|
||||
@ -40,7 +43,4 @@ post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lzo
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/lzo
|
||||
|
||||
test: build
|
||||
@cd ${WRKBUILD} && ${MAKE_PROGRAM} test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- Makefile.in.orig Tue Oct 17 21:25:10 2000
|
||||
+++ Makefile.in Sat Nov 11 17:28:20 2000
|
||||
@@ -419,7 +419,7 @@
|
||||
+++ Makefile.in Wed Oct 24 11:32:05 2001
|
||||
@@ -419,7 +419,7 @@ basic-test: all
|
||||
|
||||
test: all
|
||||
./ltest/ltest -mavail -n10 -q $(top_srcdir)/COPYING
|
||||
|
21
archivers/lzo/patches/sup-sparc64
Normal file
21
archivers/lzo/patches/sup-sparc64
Normal file
@ -0,0 +1,21 @@
|
||||
--- src/Makefile.in.orig Wed Oct 24 13:44:18 2001
|
||||
+++ src/Makefile.in Wed Oct 24 13:46:08 2001
|
||||
@@ -250,6 +250,18 @@ maintainer-clean-compile:
|
||||
.S.lo:
|
||||
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
||||
|
||||
+lzo1b_5.lo:
|
||||
+ $(LIBTOOL) --mode=compile $(COMPILE) -O1 -c $<
|
||||
+
|
||||
+lzo1b_6.lo:
|
||||
+ $(LIBTOOL) --mode=compile $(COMPILE) -O1 -c $<
|
||||
+
|
||||
+lzo1c_5.lo:
|
||||
+ $(LIBTOOL) --mode=compile $(COMPILE) -O1 -c $<
|
||||
+
|
||||
+lzo1c_6.lo:
|
||||
+ $(LIBTOOL) --mode=compile $(COMPILE) -O1 -c $<
|
||||
+
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
Loading…
Reference in New Issue
Block a user