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

(-)devel/shmap/Makefile (-6 / +5 lines)
Lines 8-28 Link Here
8
8
9
PORTNAME=	shmap
9
PORTNAME=	shmap
10
PORTVERSION=	0.3
10
PORTVERSION=	0.3
11
PORTREVISION=	1
11
CATEGORIES=	devel
12
CATEGORIES=	devel
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
14
MASTER_SITE_SUBDIR=	${PORTNAME}
14
15
15
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	ports@FreeBSD.org
16
17
17
LIB_DEPENDS=	mm:${PORTSDIR}/devel/mm
18
LIB_DEPENDS=	mm.11:${PORTSDIR}/devel/mm
18
19
19
USE_LIBTOOL=	yes
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
CFLAGS+=	-I${LOCALBASE}/include
21
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
22
CONIFGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib"
22
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
23
		LDFLAGS="-L${LOCALBASE}/lib"
23
INSTALLS_SHLIB=	yes
24
INSTALLS_SHLIB=	yes
24
25
25
pre-configure:
26
	@${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}
27
26
28
.include <bsd.port.mk>
27
.include <bsd.port.mk>
(-)devel/shmap/files/patch-ltmain.sh (+42 lines)
Line 0 Link Here
1
--- ltmain.sh.orig	Thu Sep 20 11:29:54 2001
2
+++ ltmain.sh	Thu Mar 21 04:16:02 2002
3
@@ -1040,7 +1040,7 @@
4
 	    # These systems don't actually have a C library (as such)
5
 	    test "X$arg" = "X-lc" && continue
6
 	    ;;
7
-	  *-*-openbsd*)
8
+	  *-*-openbsd* | *-*-freebsd*)
9
 	    # Do not include libc due to us having libc/libc_r.
10
 	    test "X$arg" = "X-lc" && continue
11
 	    ;;
12
@@ -1048,7 +1048,7 @@
13
 	 fi
14
 	 if test "X$arg" = "X-lc_r"; then
15
 	  case $host in
16
-	  *-*-openbsd*)
17
+	  *-*-openbsd* | *-*-freebsd*)
18
 	    # Do not include libc_r directly, use -pthread flag.
19
 	    continue
20
 	    ;;
21
@@ -2439,7 +2439,7 @@
22
 	  *-*-netbsd*)
23
 	    # Don't link with libc until the a.out ld.so is fixed.
24
 	    ;;
25
-	  *-*-openbsd*)
26
+	  *-*-openbsd* | *-*-freebsd*)
27
 	    # Do not include libc due to us having libc/libc_r.
28
 	    ;;
29
 	  *)
30
@@ -4208,10 +4208,12 @@
31
 	fi
32
 
33
 	# Install the pseudo-library for information purposes.
34
+	if /usr/bin/false; then
35
 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
36
 	instname="$dir/$name"i
37
 	$show "$install_prog $instname $destdir/$name"
38
 	$run eval "$install_prog $instname $destdir/$name" || exit $?
39
+	fi
40
 
41
 	# Maybe install the static library, too.
42
 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
(-)devel/shmap/pkg-plist (-1 lines)
Lines 1-5 Link Here
1
include/shmap.h
1
include/shmap.h
2
lib/libshmap.a
2
lib/libshmap.a
3
lib/libshmap.la
4
lib/libshmap.so
3
lib/libshmap.so
5
lib/libshmap.so.0
4
lib/libshmap.so.0

Return to bug 36289