diff options
author | joerg <joerg@pkgsrc.org> | 2007-06-25 21:38:43 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-06-25 21:38:43 +0000 |
commit | 08e238e94965c4117f6b104b310781138502ef0e (patch) | |
tree | 29d4b0ae42d41a919a74c0ce661390b5ddeafcfe /pkgtools/pbulk/Makefile | |
parent | bb42376c1c9a631443a39d836d8cdc60635b920f (diff) | |
download | pkgsrc-08e238e94965c4117f6b104b310781138502ef0e.tar.gz |
Use libnbcompat and fix build issues on Solaris.
Don't depend on sin_len. Slightly factor out code for setting
non-blocking IO.
Bump to pbulk-0.2. Tested by dmcmahill@.
Diffstat (limited to 'pkgtools/pbulk/Makefile')
-rw-r--r-- | pkgtools/pbulk/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgtools/pbulk/Makefile b/pkgtools/pbulk/Makefile index 6e9e165112e..d733888af97 100644 --- a/pkgtools/pbulk/Makefile +++ b/pkgtools/pbulk/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.3 2007/06/20 13:31:26 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2007/06/25 21:38:43 joerg Exp $ -DISTNAME= pbulk-0.1 +DISTNAME= pbulk-0.2 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty @@ -55,5 +55,11 @@ USE_BUILTIN.libevent = no . endif .endif +.if ${OPSYS} == "SunOS" +LDADD+= -lsocket -lresolv +MAKE_ENV+= LDADD=${LDADD:Q} +.endif + .include "../../devel/libevent/buildlink3.mk" +.include "../../pkgtools/libnbcompat/inplace.mk" .include "../../mk/bsd.pkg.mk" |