openbsd-ports/security/gnupg/patches/patch-mpi_Makefile_in
reinhard 1a9bf6a6cb update to gnupg-1.0.7; thx Nikolay Sturm
* use 'as' of new binutils on non elf-toolchain archs

see http://lists.gnupg.org/pipermail/gnupg-announce/2002q2/000251.html
for a list of changes
2002-07-05 07:13:00 +00:00

22 lines
610 B
Plaintext

$OpenBSD: patch-mpi_Makefile_in,v 1.1 2002/07/05 07:13:01 reinhard Exp $
--- mpi/Makefile.in.orig Wed Jun 5 14:11:29 2002
+++ mpi/Makefile.in Wed Jun 5 14:12:25 2002
@@ -76,7 +76,7 @@ POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
AMTAR = @AMTAR@
-AS = @AS@
+AS ?= @AS@
AWK = @AWK@
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
CATALOGS = @CATALOGS@
@@ -417,7 +417,7 @@ uninstall-am: uninstall-info-am
# work and add one to cpp .S files
.S.o:
$(CPP) $(INCLUDES) $(DEFS) $< | grep -v '^#' > _$*.s
- $(COMPILE) -c _$*.s
+ $(AS) -o _$*.o _$*.s
mv -f _$*.o $*.o
.S.lo: