| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.65 2013/03/01 16:10:23 jperkin Exp $ | | 1 | # $NetBSD: Makefile,v 1.66 2013/03/03 11:55:12 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 | |
| @@ -27,33 +27,26 @@ USE_LIBTOOL= yes | | | @@ -27,33 +27,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 | | 36 | OPSYSVARS+= LIBSO_LIBS |
37 | LIBSO_LIBS.SunOS+= -lnsl -lrt | | 37 | LIBSO_LIBS.SunOS+= -lnsl -lrt |
38 | CONFIGURE_ENV+= LIBSO_LIBS=${LIBSO_LIBS:Q} | | 38 | CONFIGURE_ENV+= LIBSO_LIBS=${LIBSO_LIBS:Q} |
39 | | | 39 | |
40 | .include "../../mk/bsd.prefs.mk" | | | |
41 | | | | |
42 | PLIST_VARS+= norm_so | | | |
43 | .if ${OPSYS} != "Cygwin" | | | |
44 | PLIST.norm_so= yes | | | |
45 | .endif | | | |
46 | | | | |
47 | .include "options.mk" | | 40 | .include "options.mk" |
48 | | | 41 | |
49 | # DB4 only want pthreads because it's really after POSIX 1003.1 | | 42 | # DB4 only want pthreads because it's really after POSIX 1003.1 |
50 | # inter-process mutexes. In this case, we only care to use the native | | 43 | # inter-process mutexes. In this case, we only care to use the native |
51 | # threads. | | 44 | # threads. |
52 | PTHREAD_OPTS+= native | | 45 | PTHREAD_OPTS+= native |
53 | .include "../../mk/pthread.buildlink3.mk" | | 46 | .include "../../mk/pthread.buildlink3.mk" |
54 | | | 47 | |
55 | INSTALLATION_DIRS= include/db4 lib share/doc/db4 | | 48 | INSTALLATION_DIRS= include/db4 lib share/doc/db4 |
56 | | | 49 | |
57 | post-install: | | 50 | post-install: |
58 | chown -R ${DOCOWN}:${DOCGRP} ${DESTDIR}${PREFIX}/share/doc/db4 | | 51 | chown -R ${DOCOWN}:${DOCGRP} ${DESTDIR}${PREFIX}/share/doc/db4 |
59 | | | 52 | |