openbsd-ports/devel/libixp/patches/patch-mk_lib_mk
martin a72238cd58 fix for architectures without binutils (ar s versus ranlib) and with gcc2
(macros with variable declarations)

better DESCR while there (9P)

input and ok naddy@
2009-03-11 19:41:03 +00:00

11 lines
341 B
Plaintext

$OpenBSD: patch-mk_lib_mk,v 1.1 2009/03/11 19:41:03 martin Exp $
--- mk/lib.mk.orig Thu Mar 5 21:52:46 2009
+++ mk/lib.mk Thu Mar 5 21:53:05 2009
@@ -22,5 +22,6 @@ ${LIB}: ${OFILES}
echo AR $$($(ROOT)/util/cleanname $(BASE)/$@)
mkdir ${ROOT}/lib 2>/dev/null || true
${AR} $@ ${OFILES}
+ ranlib ${LIB}
include ${ROOT}/mk/common.mk