From 6cfb29e647a6dc948d9ddd8806f366de57257765 Mon Sep 17 00:00:00 2001 From: pvalchev Date: Wed, 8 May 2002 20:33:11 +0000 Subject: [PATCH] temporary link xpdf static on sparc64 to workaround ld.so bug; ok brad with this it works... --- textproc/xpdf/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/textproc/xpdf/Makefile b/textproc/xpdf/Makefile index 4f980ee97bb..7d87d942aaf 100644 --- a/textproc/xpdf/Makefile +++ b/textproc/xpdf/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.26 2002/04/27 04:21:01 brad Exp $ +# $OpenBSD: Makefile,v 1.27 2002/05/08 20:33:11 pvalchev Exp $ COMMENT= "PDF viewer for X" @@ -25,6 +25,11 @@ CONFIGURE_ARGS= --with-gzip CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include/freetype2 -I${LOCALBASE}/include" \ LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" +# XXX temp workaround +.if ${MACHINE_ARCH:Msparc64} +CONFIGURE_ENV+= LIBS="-static" +.endif + post-install: @cd ${PREFIX}/bin && \ strip pdffonts pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf