aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ptl
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-03-30 15:56:01 +0800
committerknu <knu@FreeBSD.org>2002-03-30 15:56:01 +0800
commitbffff4351b2d7455d5c3e769c8fb3abadc8e11aa (patch)
tree2784fea33e6a76fd45f691f0e0734be0adde059c /devel/ptl
parentd14363e3ffdd99980b6f68046b20e8987e44f356 (diff)
downloadfreebsd-ports-gnome-bffff4351b2d7455d5c3e769c8fb3abadc8e11aa.tar.gz
freebsd-ports-gnome-bffff4351b2d7455d5c3e769c8fb3abadc8e11aa.tar.zst
freebsd-ports-gnome-bffff4351b2d7455d5c3e769c8fb3abadc8e11aa.zip
Add PTL-2.1.8_readdir-patch and bump PORTREVISION.
Force to use autoconf 2.13 and unbreak.
Diffstat (limited to 'devel/ptl')
-rw-r--r--devel/ptl/Makefile12
-rw-r--r--devel/ptl/distinfo1
-rw-r--r--devel/ptl/files/patch-Util::Makefile.in29
3 files changed, 32 insertions, 10 deletions
diff --git a/devel/ptl/Makefile b/devel/ptl/Makefile
index 3ac122ead981..aff5fce8c45d 100644
--- a/devel/ptl/Makefile
+++ b/devel/ptl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ptl
PORTVERSION= 2.1.8
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.media.osaka-cu.ac.jp/pub/%SUBDIR%/ \
ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/%SUBDIR%/
@@ -15,7 +16,12 @@ DISTNAME= ${PORTNAME:U}-${PORTVERSION}
MAINTAINER= knu@FreeBSD.org
-BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
+BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213
+
+PATCH_SITES= ${MASTER_SITES}
+PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
+PATCHFILES= ${DISTNAME}_readdir-patch
+PATCH_DIST_STRIP= -p1
MAKE_ARGS= prefix="${PREFIX}"
INSTALLS_SHLIB= yes
@@ -33,8 +39,8 @@ post-patch:
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${PORTNAME:U}
cd ${PREFIX} && ( \
- find ${PORTNAME:U} -type f -o -type l | sort; \
- find ${PORTNAME:U} -type d | sort -r | ${SED} 's/^/@dirrm /'; \
+ ${FIND} ${PORTNAME:U} -type f -o -type l | sort; \
+ ${FIND} ${PORTNAME:U} -type d | sort -r | ${SED} 's/^/@dirrm /'; \
) >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/doc/PTL.info* ${PREFIX}/info/
diff --git a/devel/ptl/distinfo b/devel/ptl/distinfo
index 37ca4b15e90f..2fe3ae1b749b 100644
--- a/devel/ptl/distinfo
+++ b/devel/ptl/distinfo
@@ -1 +1,2 @@
MD5 (PTL-2.1.8.tar.gz) = 4c367786201c3a12ae687d1aaa3ef517
+MD5 (PTL-2.1.8_readdir-patch) = a85e2082db847ebc7ffd2e51ed50dc70
diff --git a/devel/ptl/files/patch-Util::Makefile.in b/devel/ptl/files/patch-Util::Makefile.in
index 2d6df76c9f71..e4ff43418d3a 100644
--- a/devel/ptl/files/patch-Util::Makefile.in
+++ b/devel/ptl/files/patch-Util::Makefile.in
@@ -1,11 +1,26 @@
---- Util/Makefile.in.orig Sun Apr 8 03:00:36 2001
-+++ Util/Makefile.in Sun Apr 8 03:21:21 2001
-@@ -117,7 +117,7 @@
- STATIC_LIBRARY = libPTL.a
- PROFLIBRARY = libPTL_p.a
+--- Util/Makefile.in.orig Sat Mar 30 03:15:35 2002
++++ Util/Makefile.in Sat Mar 30 16:48:35 2002
+@@ -93,3 +93,3 @@
+
+-OPTCFLAGS = -g -O3
++OPTCFLAGS = -g -O -pipe -march=pentiumpro
+ INCLUDE = -I. -I$(arch_includedir) $(ARCH_SPECIAL) -I$(srcdir) -I$(altsysdir)
+@@ -119,3 +119,3 @@
SHARED_LIBRARY = libPTL.so
--SLIBVER = 2.0
+-SLIBVER = 2.1
+SLIBVER = 2
- ALTSYS_LINK = -L$(altsysdir) -laltsys `cat $(altsysdir)/linker_opt`
+@@ -325,4 +325,4 @@
+ $(utildir)/configure: $(utildir)/configure.in
+- test -f $(AUTOCONFBINDIR)/autoconf && \
+- (cd $(utildir) ; autoconf) || exit 0
++ test -f $(AUTOCONFBINDIR)/autoconf213 && \
++ (cd $(utildir) ; autoconf213) || exit 0
+@@ -331,4 +331,4 @@
+ $(utildir)/stamp-h.in: configure.in acconfig.h
+- test -f $(AUTOCONFBINDIR)/autoheader && \
+- (cd $(utildir) ; autoheader configure.in > config.h.in) || exit 0
++ test -f $(AUTOCONFBINDIR)/autoheader213 && \
++ (cd $(utildir) ; autoheader213 configure.in > config.h.in) || exit 0
+ date > $(utildir)/stamp-h.in