- fix build on mips64*

ok dhill@ (MAINTAINER)
This commit is contained in:
jasper 2011-03-13 20:43:24 +00:00
parent aa97c161a6
commit 0c592a2737
3 changed files with 13 additions and 3 deletions

View File

@ -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

View 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

View File

@ -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