From 99de867ec5ee92a60f741e186433fc2382a1093e Mon Sep 17 00:00:00 2001
From: Pav Lucistnik <pav@FreeBSD.org>
Date: Mon, 15 Dec 2003 19:52:27 +0000
Subject: - Fix build when older version is already installed. This will prefer
   newly build libgnokii on linking.

PR:		ports/60253
Reported by:	Krzysztof Stryjek <wtp+gnokii@bsdguru.org>
---
 comms/gnokii/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'comms/gnokii')

diff --git a/comms/gnokii/Makefile b/comms/gnokii/Makefile
index da0073237b46..5b41dc2f409d 100644
--- a/comms/gnokii/Makefile
+++ b/comms/gnokii/Makefile
@@ -28,7 +28,7 @@ CONFIGURE_ARGS+=	--with-libintl-prefix=${LOCALBASE} --enable-security \
 CONFIGURE_ENV+=	MSGFMT="${LOCALBASE}/bin/msgfmt" \
 		XGETTEXT="${LOCALBASE}/bin/xgettext" \
 		CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib"
+		LIBS="-L../common -L${LOCALBASE}/lib"
 
 MAN1=	gnokii.1 todologo.1 ppm2nokia.1 sendsms.1
 MAN8=	gnokiid.8 mgnokiidev.8
-- 
cgit v1.2.3