summaryrefslogtreecommitdiff
path: root/comms/libmal
diff options
context:
space:
mode:
Diffstat (limited to 'comms/libmal')
-rw-r--r--comms/libmal/Makefile3
-rw-r--r--comms/libmal/distinfo3
-rw-r--r--comms/libmal/patches/patch-ac13
3 files changed, 17 insertions, 2 deletions
diff --git a/comms/libmal/Makefile b/comms/libmal/Makefile
index 93c9ded91de..08be519bf5a 100644
--- a/comms/libmal/Makefile
+++ b/comms/libmal/Makefile
@@ -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 @@ USE_LIBTOOL= yes
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 --git a/comms/libmal/distinfo b/comms/libmal/distinfo
index 2941d9e73e9..04a81cbcdb3 100644
--- a/comms/libmal/distinfo
+++ b/comms/libmal/distinfo
@@ -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 --git a/comms/libmal/patches/patch-ac b/comms/libmal/patches/patch-ac
new file mode 100644
index 00000000000..e72af125414
--- /dev/null
+++ b/comms/libmal/patches/patch-ac
@@ -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