View | Details | Raw Unified | Return to bug 37142
Collapse All | Expand All

(-)pth/Makefile (-4 / +8 lines)
Lines 7-22 Link Here
7
7
8
PORTNAME=	pth
8
PORTNAME=	pth
9
PORTVERSION=	1.4.1
9
PORTVERSION=	1.4.1
10
PORTREVISION=	1
10
CATEGORIES=	devel
11
CATEGORIES=	devel
11
MASTER_SITES=	${MASTER_SITE_GNU} \
12
MASTER_SITES=	${MASTER_SITE_GNU}
12
		ftp://ftp.engelschall.com/sw/pth/
13
MASTER_SITE_SUBDIR=	pth
13
MASTER_SITE_SUBDIR=	pth
14
14
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
16
17
USE_LIBTOOL=	yes
18
LIBTOOLFILES=	aclocal.m4
17
INSTALLS_SHLIB=	yes
19
INSTALLS_SHLIB=	yes
18
LDCONFIG_DIRS=	%%PREFIX%%/lib/pth
20
LDCONFIG_DIRS=	${PREFIX}/lib/pth
19
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=	--enable-pthread \
21
CONFIGURE_ARGS=	--enable-pthread \
21
		--enable-syscall-soft \
22
		--enable-syscall-soft \
22
		--enable-optimize \
23
		--enable-optimize \
Lines 29-34 Link Here
29
30
30
post-build:
31
post-build:
31
	@${ECHO_MSG} "===>  Use 'make test' to run a quick test suite."
32
	@${ECHO_MSG} "===>  Use 'make test' to run a quick test suite."
33
34
post-install:
35
	@${INSTALL_SCRIPT} ${FILESDIR}/pth.sh ${PREFIX}/etc/rc.d/000.pth.sh
32
36
33
test:
37
test:
34
	@cd ${WRKSRC} && ${MAKE} test
38
	@cd ${WRKSRC} && ${MAKE} test
(-)pth/files/patch-ltmain.sh (-28 lines)
Lines 1-28 Link Here
1
2
$FreeBSD: ports/devel/pth/files/patch-ltmain.sh,v 1.4 2001/12/20 06:18:58 sobomax Exp $
3
4
--- ltmain.sh	2001/08/27 09:51:26	1.1
5
+++ ltmain.sh	2001/08/27 09:51:42
6
@@ -2408,6 +2408,9 @@
7
 	  *-*-netbsd*)
8
 	    # Don't link with libc until the a.out ld.so is fixed.
9
 	    ;;
10
+	  *-*-freebsd*)
11
+	    # FreeBSD doesn't need this...
12
+	    ;;
13
 	  *)
14
 	    # Add libc to deplibs on all other systems if necessary.
15
 	    if test "$build_libtool_need_lc" = "yes"; then
16
@@ -4175,10 +4178,12 @@
17
 	fi
18
 
19
 	# Install the pseudo-library for information purposes.
20
+	if /usr/bin/false; then
21
 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
22
 	instname="$dir/$name"i
23
 	$show "$install_prog $instname $destdir/$name"
24
 	$run eval "$install_prog $instname $destdir/$name" || exit $?
25
+	fi
26
 
27
 	# Maybe install the static library, too.
28
 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
(-)pth/files/pth.sh (+20 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
4
    echo "$0: Cannot determine the PREFIX" >&2
5
    exit 1
6
fi
7
8
case "$1" in
9
	start)
10
		/sbin/ldconfig -m ${PREFIX}/lib/pth
11
		;;
12
	stop)
13
		;;
14
	*)
15
		echo ""
16
		echo "Usage: `basename $0` { start | stop }"
17
		echo ""
18
		exit 64
19
		;;
20
esac
(-)pth/pkg-plist (+2 lines)
Lines 3-11 Link Here
3
include/pth/pth.h
3
include/pth/pth.h
4
include/pth/pthread.h
4
include/pth/pthread.h
5
lib/pth/libpth.a
5
lib/pth/libpth.a
6
lib/pth/libpth.la
6
lib/pth/libpth.so
7
lib/pth/libpth.so
7
lib/pth/libpth.so.14
8
lib/pth/libpth.so.14
8
lib/pth/libpthread.a
9
lib/pth/libpthread.a
10
lib/pth/libpthread.la
9
lib/pth/libpthread.so
11
lib/pth/libpthread.so
10
lib/pth/libpthread.so.14
12
lib/pth/libpthread.so.14
11
share/aclocal/pth.m4
13
share/aclocal/pth.m4

Return to bug 37142