- fix build on mips64*
ok dhill@ (MAINTAINER)
This commit is contained in:
parent
aa97c161a6
commit
0c592a2737
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/03/11 21:24:03 dhill Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2011/03/13 20:43:24 jasper Exp $
|
||||
|
||||
COMMENT= compression wrapper library
|
||||
|
||||
DISTNAME= shrink-0.2
|
||||
PKGNAME= lib${DISTNAME}
|
||||
REVISION= 0
|
||||
CATEGORIES= archivers devel
|
||||
SHARED_LIBS= shrink 0.0
|
||||
EXTRACT_SUFX= .tgz
|
||||
@ -25,6 +26,13 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
# See bsd.lib.mk:162
|
||||
.if ${MACHINE_ARCH:Mmips64*}
|
||||
PKG_ARGS+= -Dno_mips64=0
|
||||
.else
|
||||
PKG_ARGS+= -Dno_mips64=1
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
printf "major=${LIBshrink_VERSION:R}\nminor=${LIBshrink_VERSION:E}\n" \
|
||||
> ${WRKSRC}/libshrink/shlib_version
|
||||
|
2
archivers/libshrink/pkg/PFRAG.no_mips64
Normal file
2
archivers/libshrink/pkg/PFRAG.no_mips64
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.no_mips64,v 1.1 2011/03/13 20:43:24 jasper Exp $
|
||||
lib/libshrink_pic.a
|
@ -1,8 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/03/11 21:24:03 dhill Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2011/03/13 20:43:24 jasper Exp $
|
||||
%%SHARED%%
|
||||
@bin bin/shrink
|
||||
include/shrink.h
|
||||
lib/libshrink.a
|
||||
lib/libshrink_p.a
|
||||
lib/libshrink_pic.a
|
||||
%%no_mips64%%
|
||||
@man man/cat3/shrink.0
|
||||
|
Loading…
Reference in New Issue
Block a user