pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/libmal Make this package build on Darwin.
details: https://anonhg.NetBSD.org/pkgsrc/rev/adb70c53c2d2
branches: trunk
changeset: 514861:adb70c53c2d2
user: minskim <minskim%pkgsrc.org@localhost>
date: Mon Jun 19 16:48:49 2006 +0000
description:
Make this package build on Darwin.
- Use .dylib instead of .so.
- Include stdlib.h for malloc().
diffstat:
comms/libmal/Makefile | 3 ++-
comms/libmal/distinfo | 3 ++-
comms/libmal/patches/patch-ac | 13 +++++++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
diffs (47 lines):
diff -r fa4d0f8ab02b -r adb70c53c2d2 comms/libmal/Makefile
--- a/comms/libmal/Makefile Mon Jun 19 13:46:36 2006 +0000
+++ b/comms/libmal/Makefile Mon Jun 19 16:48:49 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/02/05 23:08:27 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2006/06/19 16:48:49 minskim Exp $
DISTNAME= libmal-0.40
PKGREVISION= 2
@@ -17,6 +17,7 @@
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-pilot-prefix=${BUILDLINK_PREFIX.pilot-link-libs}
CPPFLAGS+= -D__unix__=1
+CPPFLAGS.Darwin+= -DDARWIN
.include "../../comms/pilot-link-libs/buildlink3.mk"
diff -r fa4d0f8ab02b -r adb70c53c2d2 comms/libmal/distinfo
--- a/comms/libmal/distinfo Mon Jun 19 13:46:36 2006 +0000
+++ b/comms/libmal/distinfo Mon Jun 19 16:48:49 2006 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 16:05:30 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/06/19 16:48:49 minskim Exp $
SHA1 (libmal-0.40.tar.gz) = fcce27b320215e32de70e0c4a1fc7a553d486611
RMD160 (libmal-0.40.tar.gz) = 8d3833f64df5b631a5fb0801c4bc432a4f27bd4f
Size (libmal-0.40.tar.gz) = 329928 bytes
SHA1 (patch-aa) = 6a5426aad935fb736044a92da6f56e21e2915824
SHA1 (patch-ab) = 054e5062519cc982f5e9caee4904a20a8510e1e7
+SHA1 (patch-ac) = 2d2a8f940f65888b01e6885f5c482a18810c0804
diff -r fa4d0f8ab02b -r adb70c53c2d2 comms/libmal/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/libmal/patches/patch-ac Mon Jun 19 16:48:49 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2006/06/19 16:48:49 minskim Exp $
+
+--- configure.orig 2006-06-19 09:29:36.000000000 -0700
++++ configure
+@@ -8401,7 +8401,7 @@ PILOT_LIBS="-lpisock"
+
+ for pilot_libs in $pilot_prefix/lib /usr/lib /usr/local/lib/ \
+ /usr/extra/pilot/lib ; do
+- if test -r "$pilot_libs/libpisock.so" ; then
++ if test -r "$pilot_libs/libpisock.so" -o -r "$pilot_libs/libpisock.dylib" ; then
+ pilotlibs=yes
+ PILOT_LIBS="-L$pilot_libs $PILOT_LIBS"
+ break
Home |
Main Index |
Thread Index |
Old Index