summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-16 18:48:52 +0000
committerhans <hans@pkgsrc.org>2012-02-16 18:48:52 +0000
commit4f6504410d1124d5c31f5827a4b4907bbaf68610 (patch)
tree59c36b3b1dbc5b961758d5aed4cc7f839a87ee72
parent574c381c7b9b6c6613ff7fb7393ae5fdca7f6a02 (diff)
downloadpkgsrc-4f6504410d1124d5c31f5827a4b4907bbaf68610.tar.gz
Fix build on SunOS.
-rw-r--r--editors/ted/Makefile4
-rw-r--r--games/hex-a-hop/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/editors/ted/Makefile b/editors/ted/Makefile
index 7bfb71ddc45..6cdfbeab773 100644
--- a/editors/ted/Makefile
+++ b/editors/ted/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2012/02/06 12:40:04 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2012/02/16 18:48:52 hans Exp $
DISTNAME= ted-2.21.src
PKGNAME= ${DISTNAME:S/.src//}
@@ -37,6 +37,8 @@ CONFIGURE_ENV+= ac_xpm_libraries="${BUILDLINK_PREFIX.libXpm}/lib"
CONFIGURE_ENV+= ac_zlib_includes="${BUILDLINK_PREFIX.zlib}/include"
CONFIGURE_ENV+= ac_zlib_libraries="${BUILDLINK_PREFIX.zlib}/lib"
+LDFLAGS.SunOS+= -liconv
+
MAKE_FLAGS+= CONFIGURE_OPTIONS=--x-libraries=${X11BASE}/lib\ --with-MOTIF
MAKE_ENV+= ${CONFIGURE_ENV}
diff --git a/games/hex-a-hop/Makefile b/games/hex-a-hop/Makefile
index 23cb0fa2479..8f85d317254 100644
--- a/games/hex-a-hop/Makefile
+++ b/games/hex-a-hop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/11/01 06:01:18 sbd Exp $
+# $NetBSD: Makefile,v 1.4 2012/02/16 18:49:41 hans Exp $
#
DISTNAME= hex-a-hop-1.1.0
@@ -16,6 +16,8 @@ PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
+LIBS.SunOS+= -liconv
+
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL_ttf/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"