summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-06-15 13:47:16 +0000
committergrant <grant@pkgsrc.org>2004-06-15 13:47:16 +0000
commit73de936fc9cc160f46ede3737b005b58943e1033 (patch)
treef61d584793e334790022ebb9e7691cf5547cdbbb
parentbbfbfc02f153654df90d9fdd93e24ab2976a118f (diff)
downloadpkgsrc-73de936fc9cc160f46ede3737b005b58943e1033.tar.gz
- 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
-rw-r--r--devel/smpeg/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/smpeg/Makefile b/devel/smpeg/Makefile
index 3da8e9e4864..6e67c38a20a 100644
--- a/devel/smpeg/Makefile
+++ b/devel/smpeg/Makefile
@@ -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 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
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"