aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/epkg/Makefile3
-rw-r--r--archivers/epkg/files/patch-lib_platform.c11
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()) */