diff options
author | Renato Botelho <garga@FreeBSD.org> | 2006-09-06 15:28:20 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2006-09-06 15:28:20 +0000 |
commit | 43cedacb93828935df2fcde00ae660fc1d4fbfee (patch) | |
tree | 050bfa509f62eb5c8f0a39e765eb331a6cfd22e2 /archivers | |
parent | 19bd94eb1196db45cea774d38dc1acb1915e5819 (diff) |
Fix build on ia64
PR: ports/102937
Submitted by: pirzyk (maintainer)
Notes
Notes:
svn path=/head/; revision=172412
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/epkg/Makefile | 3 | ||||
-rw-r--r-- | archivers/epkg/files/patch-lib_platform.c | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/archivers/epkg/Makefile b/archivers/epkg/Makefile index d262cc55aa4b..2f33fa82b786 100644 --- a/archivers/epkg/Makefile +++ b/archivers/epkg/Makefile @@ -7,11 +7,12 @@ PORTNAME= epkg PORTVERSION= 2.3.9 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= ftp://ftp.feep.net/pub/encap/epkg/ MAINTAINER= pirzyk@freebsd.org -COMMENT= Encap Package Manger +COMMENT= Encap Package Manager BUILD_DEPENDS= ${LOCALBASE}/lib/libexpat.a:${PORTSDIR}/textproc/expat2 \ ${LOCALBASE}/lib/libfget.a:${PORTSDIR}/ftp/fget \ diff --git a/archivers/epkg/files/patch-lib_platform.c b/archivers/epkg/files/patch-lib_platform.c new file mode 100644 index 000000000000..78fd73b49419 --- /dev/null +++ b/archivers/epkg/files/patch-lib_platform.c @@ -0,0 +1,11 @@ +--- ./lib/platform.c.orig Wed Apr 21 11:00:26 2004 ++++ ./lib/platform.c Wed Sep 6 08:32:24 2006 +@@ -213,7 +213,7 @@ + */ + if (strcmp(ut.sysname, "AIX") == 0) + { +-#ifdef __ia64 ++#if defined __ia64 && defined _AIX + if (__ia64()) + strlcpy(archbuf, "ia64", sizeof(archbuf)); + else /* if (__power_pc() || __power_rs()) */ |