diff options
author | wiz <wiz@pkgsrc.org> | 2013-05-31 08:41:55 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2013-05-31 08:41:55 +0000 |
commit | 76022a5e09121b614bac696f7e91f96c06cc55dd (patch) | |
tree | f2f32b8f6b594339a22c3a9e16b57d5a510cc84f /www | |
parent | 89e4157e46b30cca7860d4bd4c1ac44ec13456fe (diff) | |
download | pkgsrc-76022a5e09121b614bac696f7e91f96c06cc55dd.tar.gz |
Try fixing build on Solaris. PR pkg/47868.
Diffstat (limited to 'www')
-rw-r--r-- | www/libproxy/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/www/libproxy/Makefile b/www/libproxy/Makefile index 3b45e707e2b..8cb24b91cd6 100644 --- a/www/libproxy/Makefile +++ b/www/libproxy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2013/05/25 11:13:12 obache Exp $ +# $NetBSD: Makefile,v 1.18 2013/05/31 08:41:55 wiz Exp $ DISTNAME= libproxy-0.4.11 CATEGORIES= www gnome @@ -13,9 +13,15 @@ USE_CMAKE= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config gmake USE_LANGUAGES= c99 c++ -LIBS.SunOS+= -lnsl -lsocket CMAKE_ARGS+= -DWITH_PYTHON:BOOL=OFF +.include "../../mk/bsd.fast.prefs.mk" + +.if (${OPSYS} == "SunOS") +# add libraries needed for Solaris, and add stuff cmake would add it on its own +CMAKE_ARGS+= CMAKE_EXE_LINKER_FLAGS:STRING="-lnsl -lsocket ${COMPILER_RPATH_FLAG}${PREFIX}/lib" +.endif + PKGCONFIG_OVERRIDE+= bindings/csharp/libproxy-sharp-1.0.pc.cmake PKGCONFIG_OVERRIDE+= libproxy/libproxy-1.0.pc.in |