- fix build on mips64
This commit is contained in:
parent
96a6dfc31b
commit
32834c8687
@ -1,7 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2008/01/04 17:48:36 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2010/08/23 15:44:26 jasper Exp $
|
||||
|
||||
COMMENT= SOCKS client wrapper for *BSD
|
||||
DISTNAME= dsocks-1.6
|
||||
REVISION= 0
|
||||
CATEGORIES= net
|
||||
SHARED_LIBS= dsocks 1.0
|
||||
|
||||
@ -22,6 +23,13 @@ MAKE_FLAGS= SHLIB_MAJOR=${LIBdsocks_VERSION:R} \
|
||||
|
||||
FAKE_FLAGS= DEBUGLIBS=No
|
||||
|
||||
# See bsd.lib.mk:162
|
||||
.if ${MACHINE_ARCH:Mmips64*}
|
||||
PKG_ARGS+= -Dno_mips64=0
|
||||
.else
|
||||
PKG_ARGS+= -Dno_mips64=1
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/dsocks.sh ${WRKSRC}/dsocks-torify.sh \
|
||||
${PREFIX}/bin
|
||||
|
2
net/dsocks/pkg/PFRAG.no_mips64
Normal file
2
net/dsocks/pkg/PFRAG.no_mips64
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.no_mips64,v 1.1 2010/08/23 15:44:26 jasper Exp $
|
||||
lib/libdsocks_pic.a
|
@ -1,6 +1,6 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/03/07 16:27:17 todd Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2010/08/23 15:44:26 jasper Exp $
|
||||
%%SHARED%%
|
||||
bin/dsocks-torify.sh
|
||||
bin/dsocks.sh
|
||||
lib/libdsocks.a
|
||||
lib/libdsocks_pic.a
|
||||
%%no_mips64%%
|
||||
|
Loading…
Reference in New Issue
Block a user