Make this compile on Solaris by using -Wl,-L instead of -L as pointed out

by kwennoir at hotbox dot ru.
Bump PKGREVISION.
This commit is contained in:
rh 2007-05-25 23:56:55 +00:00
parent 43d363f718
commit 1b19d7033d
3 changed files with 17 additions and 3 deletions

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.24 2006/09/22 07:08:16 rillig Exp $
# $NetBSD: Makefile,v 1.25 2007/05/25 23:56:55 rh Exp $
#
DISTNAME= GNUMail-1.1.2
PKGREVISION= 6
PKGREVISION= 7
CATEGORIES= mail gnustep
MASTER_SITES= http://debian.uni-essen.de/misc/GNUstep/Apps/GNUMail/

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.4 2005/02/24 09:59:20 agc Exp $
$NetBSD: distinfo,v 1.5 2007/05/25 23:56:55 rh Exp $
SHA1 (GNUMail-1.1.2.tar.gz) = 311a53d724ea0aa4852b781aa909983242748b5c
RMD160 (GNUMail-1.1.2.tar.gz) = 6e4af69d93ed2218eff044a83ba47d90173af1be
Size (GNUMail-1.1.2.tar.gz) = 1078949 bytes
SHA1 (patch-aa) = 6bfd8b80a06c81b61fafda388c8e411cfbddf238

View file

@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.1 2007/05/25 23:56:55 rh Exp $
--- GNUmakefile.orig 2003-11-10 12:57:20.000000000 +1000
+++ GNUmakefile
@@ -60,7 +60,7 @@ ADDITIONAL_OBJCFLAGS = -Wall -Wno-import
# Under Solaris, we link to libucb
ifeq ($(findstring solaris, $(GNUSTEP_TARGET_OS)), solaris)
-ADDITIONAL_LDFLAGS = -L/usr/ucblib -lucb
+ADDITIONAL_LDFLAGS = -Wl,-L/usr/ucblib -lucb
endif
include $(GNUSTEP_MAKEFILES)/aggregate.make