use -Wl,-rpath instead of -R to unbreak on powerpc

This commit is contained in:
jasper 2013-10-08 06:25:58 +00:00
parent 8a6c4f483c
commit 7ba1e43328

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2013/07/15 21:47:50 jca Exp $
# $OpenBSD: Makefile,v 1.7 2013/10/08 06:25:58 jasper Exp $
COMMENT= SPF library
DISTNAME= libspf2-1.2.9
REVISION= 2
REVISION= 3
SHARED_LIBS += spf2 3.0 # 3.0
@ -27,7 +27,7 @@ CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --bindir=${PREFIX}/libexec/libspf2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/bind" \
LDFLAGS="-L${LOCALBASE}/lib -L${LOCALBASE}/lib/libbind -R${LOCALBASE}/lib/libbind -lbind"
LDFLAGS="-L${LOCALBASE}/lib -L${LOCALBASE}/lib/libbind -Wl,-rpath ${LOCALBASE}/lib/libbind -lbind"
# broken test cases
NO_TEST= yes