- Update to 1.0rc3

- Try to unbreak on ia64
- While I'm here: add USE_APACHE

PR:		ports/77081
Submitted by:	maintainer
This commit is contained in:
Sergey Matveychuk 2005-02-08 18:54:17 +00:00
parent 9f967f495c
commit ab3a47e081
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128306
3 changed files with 23 additions and 8 deletions

View file

@ -6,25 +6,23 @@
#
PORTNAME= winhelpcgi
PORTVERSION= 0.99
PORTVERSION= 1.0r3
CATEGORIES= www textproc
MASTER_SITES= http://www.herdsoft.com/ftp/
DISTNAME= ${PORTNAME}_0.99-3
DISTNAME= ${PORTNAME}_1.0rc3-1
MAINTAINER= endx7@users.sf.net
COMMENT= A winhelp converter cgi program
LIB_DEPENDS= wmf.2:${PORTSDIR}/graphics/libwmf
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME}-1.0rc3
GNU_CONFIGURE= yes
USE_AUTOMAKE_VER= 14
USE_GETTEXT= yes
USE_APACHE= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
pre-patch:
(cd ${WRKSRC}; ${TOUCH} config.h)
post-build:
@${CAT} ${PKGDIR}/pkg-message | ${SED} -e 's:%%PREFIX%%:${PREFIX}:' > ${PKGMESSAGE}

View file

@ -1,2 +1,2 @@
MD5 (winhelpcgi_0.99-3.tar.gz) = 94cdc550d320a78a71293e4d71b8006f
SIZE (winhelpcgi_0.99-3.tar.gz) = 305524
MD5 (winhelpcgi_1.0rc3-1.tar.gz) = ffea4a34898b3746184d50f5d2ea38c7
SIZE (winhelpcgi_1.0rc3-1.tar.gz) = 338589

View file

@ -0,0 +1,17 @@
--- libhlpaccess/bigend.h.orig Sun May 16 13:35:18 2004
+++ libhlpaccess/bigend.h Wed Jan 5 17:00:48 2005
@@ -4,9 +4,11 @@
*
*/
-#if defined(__powerpc__) || defined(__ppc__) || defined(__sparc__) || defined(_AIX)
+#include <sys/endian.h>
+
+#if BYTE_ORDER == BIG_ENDIAN
# define BIGENDIAN /* This is a big-endian machine MSB is the first Byte */
-#elif defined(__i386__) || defined(__alpha__) || defined(__amd64__)
+#elif BYTE_ORDER == LITTLE_ENDIAN
# define LITTLEENDIAN /* This is a little-endian machine MSB is the last Byte */
#else
# error Endianness undefined