Fri Sep 26 10:55:32 2014 UTC ()
SunOS requires -lsocket -lnsl.


(jperkin)
diff -r1.11 -r1.12 pkgsrc/net/freeDiameter/Makefile

cvs diff -r1.11 -r1.12 pkgsrc/net/freeDiameter/Makefile (expand / switch to unified diff)

--- pkgsrc/net/freeDiameter/Makefile 2014/01/01 11:52:28 1.11
+++ pkgsrc/net/freeDiameter/Makefile 2014/09/26 10:55:32 1.12
@@ -1,35 +1,37 @@ @@ -1,35 +1,37 @@
1# $NetBSD: Makefile,v 1.11 2014/01/01 11:52:28 wiz Exp $ 1# $NetBSD: Makefile,v 1.12 2014/09/26 10:55:32 jperkin Exp $
2 2
3DISTNAME= 1.2.0 3DISTNAME= 1.2.0
4PKGNAME= freeDiameter-${DISTNAME} 4PKGNAME= freeDiameter-${DISTNAME}
5PKGREVISION= 1 5PKGREVISION= 1
6CATEGORIES= net 6CATEGORIES= net
7MASTER_SITES= http://www.freediameter.net/hg/freeDiameter/archive/ 7MASTER_SITES= http://www.freediameter.net/hg/freeDiameter/archive/
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.freediameter.net/trac/ 10HOMEPAGE= http://www.freediameter.net/trac/
11COMMENT= Open source Diameter protocol implementation 11COMMENT= Open source Diameter protocol implementation
12LICENSE= modified-bsd 12LICENSE= modified-bsd
13 13
14DIST_SUBDIR= freeDiameter 14DIST_SUBDIR= freeDiameter
15 15
16WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} 16WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
17USE_CMAKE= yes 17USE_CMAKE= yes
18CMAKE_ARGS+= -DDISABLE_SCTP:BOOL=ON 18CMAKE_ARGS+= -DDISABLE_SCTP:BOOL=ON
19USE_LANGUAGES= c c++ 19USE_LANGUAGES= c c++
20USE_TOOLS+= bison flex pkg-config 20USE_TOOLS+= bison flex pkg-config
21FLEX_REQD= 2.5.35 21FLEX_REQD= 2.5.35
22 22
 23LDFLAGS.SunOS+= -lsocket -lnsl
 24
23# needs libraries installed 25# needs libraries installed
24#TEST_TARGET= test 26#TEST_TARGET= test
25 27
26.include "options.mk" 28.include "options.mk"
27 29
28INSTALLATION_DIRS= share/examples/freeDiameter/single_host 30INSTALLATION_DIRS= share/examples/freeDiameter/single_host
29 31
30post-install: 32post-install:
31 cd ${WRKSRC}/doc && ${INSTALL_DATA} *.* \ 33 cd ${WRKSRC}/doc && ${INSTALL_DATA} *.* \
32 ${DESTDIR}${PREFIX}/share/examples/freeDiameter 34 ${DESTDIR}${PREFIX}/share/examples/freeDiameter
33 cd ${WRKSRC}/doc/single_host && ${INSTALL_DATA} *.* \ 35 cd ${WRKSRC}/doc/single_host && ${INSTALL_DATA} *.* \
34 ${DESTDIR}${PREFIX}/share/examples/freeDiameter/single_host 36 ${DESTDIR}${PREFIX}/share/examples/freeDiameter/single_host
35 37