aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db4
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-03-30 00:35:19 +0800
committersobomax <sobomax@FreeBSD.org>2001-03-30 00:35:19 +0800
commit6e2b9def0c49c3e565a14f5987fd3e9f46d285c6 (patch)
treec23d8d7c62c20c0978b7a404b38eb7b9d5596d0f /databases/db4
parentfaa774bb672904227e681f88c16cfceef448ef6c (diff)
downloadfreebsd-ports-gnome-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.tar.gz
freebsd-ports-gnome-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.tar.zst
freebsd-ports-gnome-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.zip
-pthread --> ${PTHREAD_LIBS}
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS} Note: my first intention was to test this out on bento/beta, but per ade's requiest I opted to do it quickly.
Diffstat (limited to 'databases/db4')
-rw-r--r--databases/db4/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/db4/Makefile b/databases/db4/Makefile
index 7d1e0b4d79b0..85151d77dfe2 100644
--- a/databases/db4/Makefile
+++ b/databases/db4/Makefile
@@ -28,7 +28,7 @@ CONFIGURE_ARGS= --enable-compat185 \
--target=$(ARCH)-unknown-freebsd$(OSREL)
pre-patch:
- @${PERL} -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
post-patch:
@${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT}