Skip to content

Commit

Permalink
- fix build on mips64*
Browse files Browse the repository at this point in the history
ok dhill@ (MAINTAINER)
  • Loading branch information
jasperla committed Mar 13, 2011
1 parent 1035cd0 commit e0a63ab
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
10 changes: 9 additions & 1 deletion archivers/libshrink/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions archivers/libshrink/pkg/PFRAG.no_mips64
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.no_mips64,v 1.1 2011/03/13 20:43:24 jasper Exp $
lib/libshrink_pic.a
4 changes: 2 additions & 2 deletions archivers/libshrink/pkg/PLIST
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e0a63ab

Please sign in to comment.