pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/smpeg - needs a c and c++ compiler



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d108f1677e0f
branches:  trunk
changeset: 476603:d108f1677e0f
user:      grant <grant%pkgsrc.org@localhost>
date:      Tue Jun 15 13:47:16 2004 +0000

description:
- needs a c and c++ compiler
- needs -lCrun when building with SunPro so programs that link
  against libsmpeg.so can resolve all symbols.
- USE_GCC_SHLIB

diffstat:

 devel/smpeg/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 390b4ac81b8f -r d108f1677e0f devel/smpeg/Makefile
--- a/devel/smpeg/Makefile      Tue Jun 15 13:41:53 2004 +0000
+++ b/devel/smpeg/Makefile      Tue Jun 15 13:47:16 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2004/02/14 17:21:39 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2004/06/15 13:47:16 grant Exp $
 #
 
 DISTNAME=      smpeg-0.4.4
@@ -16,9 +16,17 @@
 USE_BUILDLINK3=        yes
 USE_GNU_TOOLS+=        make
 GNU_CONFIGURE= yes
+USE_GCC_SHLIB= yes
+USE_LANGUAGES= c c++
 USE_X11=       yes
 USE_LIBTOOL=   yes
 
+.include "../../mk/compiler.mk"
+
+.if !empty(CC_VERSION:MSun)
+LIBS.SunOS+=   -lCrun
+.endif
+
 CPPFLAGS+=     -Dunix=1
 
 .include "../../devel/SDL/buildlink3.mk"



Home | Main Index | Thread Index | Old Index