From b4d45cf41d0c505a0483a4de4fb917d9f2b52c65 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Tue, 13 Mar 2001 15:56:36 +0000 Subject: [PATCH] Explicitly link resulting library with libm, because other ports expect to be able to link just with ``-lmng'', not with ``-lmng -lm''. Submitted by: bento (sorta) --- graphics/libmng/Makefile | 1 + graphics/libmng/files/Makefile.bsd | 1 + 2 files changed, 2 insertions(+) diff --git a/graphics/libmng/Makefile b/graphics/libmng/Makefile index 870e9baf7052..c80912a58faf 100644 --- a/graphics/libmng/Makefile +++ b/graphics/libmng/Makefile @@ -7,6 +7,7 @@ PORTNAME= libmng PORTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.3-t.com/libmng/download/ \ ${MASTER_SITE_SOURCEFORGE} \ diff --git a/graphics/libmng/files/Makefile.bsd b/graphics/libmng/files/Makefile.bsd index eee8c306e901..f4fc64ed7356 100644 --- a/graphics/libmng/files/Makefile.bsd +++ b/graphics/libmng/files/Makefile.bsd @@ -1,4 +1,5 @@ LIB= mng +LDADD= -lm NOPROFILE= yes SHLIB_MAJOR?= 1