summaryrefslogtreecommitdiff
path: root/devel
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
commit83f152946a5033c53d88a3cdfdb11e0856e4bc45 (patch)
treef61d584793e334790022ebb9e7691cf5547cdbbb /devel
parent927529942bf5848aedc3e3fca58efcab9c54322b (diff)
downloadpkgsrc-83f152946a5033c53d88a3cdfdb11e0856e4bc45.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
Diffstat (limited to 'devel')
-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"