| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.66 2013/03/03 11:55:12 obache Exp $ | | 1 | # $NetBSD: Makefile,v 1.67 2014/06/07 08:06:01 obache Exp $ |
2 | # | | 2 | # |
3 | # NOTE: | | 3 | # NOTE: |
4 | # When updating this package, a change in the minor (4.n -> 4.(n+1)) | | 4 | # When updating this package, a change in the minor (4.n -> 4.(n+1)) |
5 | # usually incurs a shlib name change. Please make sure to update the | | 5 | # usually incurs a shlib name change. Please make sure to update the |
6 | # ABI depends in buildlink3.mk and bump PKGREVISIONs for all dependencies. | | 6 | # ABI depends in buildlink3.mk and bump PKGREVISIONs for all dependencies. |
7 | # In particular, take care to include BDB_ACCEPTED=db4 packages. | | 7 | # In particular, take care to include BDB_ACCEPTED=db4 packages. |
8 | | | 8 | |
9 | DISTNAME= db-4.8.30 | | 9 | DISTNAME= db-4.8.30 |
10 | PKGNAME= ${DISTNAME:S/db/db4/} | | 10 | PKGNAME= ${DISTNAME:S/db/db4/} |
11 | CATEGORIES= databases | | 11 | CATEGORIES= databases |
12 | MASTER_SITES= http://download.oracle.com/berkeley-db/ \ | | 12 | MASTER_SITES= http://download.oracle.com/berkeley-db/ \ |
13 | http://download-uk.oracle.com/berkeley-db/ | | 13 | http://download-uk.oracle.com/berkeley-db/ |
14 | | | 14 | |
| @@ -23,30 +23,26 @@ LICENSE= sleepycat-public | | | @@ -23,30 +23,26 @@ LICENSE= sleepycat-public |
23 | PKG_INSTALLATION_TYPES= overwrite pkgviews | | 23 | PKG_INSTALLATION_TYPES= overwrite pkgviews |
24 | | | 24 | |
25 | USE_LANGUAGES= c c++ | | 25 | USE_LANGUAGES= c c++ |
26 | USE_LIBTOOL= yes | | 26 | USE_LIBTOOL= yes |
27 | USE_TOOLS+= pax | | 27 | USE_TOOLS+= pax |
28 | GNU_CONFIGURE= yes | | 28 | GNU_CONFIGURE= yes |
29 | CONFIGURE_DIRS= build_unix | | 29 | CONFIGURE_DIRS= build_unix |
30 | CONFIGURE_SCRIPT= ../dist/configure | | 30 | CONFIGURE_SCRIPT= ../dist/configure |
31 | CONFIGURE_ARGS+= --enable-compat185 | | 31 | CONFIGURE_ARGS+= --enable-compat185 |
32 | CONFIGURE_ARGS+= --enable-cxx | | 32 | CONFIGURE_ARGS+= --enable-cxx |
33 | CONFIGURE_ARGS+= --includedir=${PREFIX}/include/db4 | | 33 | CONFIGURE_ARGS+= --includedir=${PREFIX}/include/db4 |
34 | CONFIGURE_ARGS+= --program-transform-name=s,db_,db4_, | | 34 | CONFIGURE_ARGS+= --program-transform-name=s,db_,db4_, |
35 | | | 35 | |
36 | OPSYSVARS+= LIBSO_LIBS | | | |
37 | LIBSO_LIBS.SunOS+= -lnsl -lrt | | | |
38 | CONFIGURE_ENV+= LIBSO_LIBS=${LIBSO_LIBS:Q} | | | |
39 | | | | |
40 | .include "options.mk" | | 36 | .include "options.mk" |
41 | | | 37 | |
42 | # DB4 only want pthreads because it's really after POSIX 1003.1 | | 38 | # DB4 only want pthreads because it's really after POSIX 1003.1 |
43 | # inter-process mutexes. In this case, we only care to use the native | | 39 | # inter-process mutexes. In this case, we only care to use the native |
44 | # threads. | | 40 | # threads. |
45 | PTHREAD_OPTS+= native | | 41 | PTHREAD_OPTS+= native |
46 | .include "../../mk/pthread.buildlink3.mk" | | 42 | .include "../../mk/pthread.buildlink3.mk" |
47 | | | 43 | |
48 | INSTALLATION_DIRS= include/db4 lib share/doc/db4 | | 44 | INSTALLATION_DIRS= include/db4 lib share/doc/db4 |
49 | | | 45 | |
50 | post-install: | | 46 | post-install: |
51 | chown -R ${DOCOWN}:${DOCGRP} ${DESTDIR}${PREFIX}/share/doc/db4 | | 47 | chown -R ${DOCOWN}:${DOCGRP} ${DESTDIR}${PREFIX}/share/doc/db4 |
52 | | | 48 | |