summaryrefslogtreecommitdiff
path: root/mail/gld
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-03-02 20:54:08 +0000
committerwiz <wiz@pkgsrc.org>2006-03-02 20:54:08 +0000
commit696ac67d3a78f7e1cfa12fd8eac36e3d47734cf9 (patch)
treef0726120d059c20855a5e15eec1106c701ae1dcb /mail/gld
parent8d643056033f0577858b034b63cf12aed91ef863 (diff)
downloadpkgsrc-696ac67d3a78f7e1cfa12fd8eac36e3d47734cf9.tar.gz
Make MESSAGE mysql-specific, since it is.
Final part of PR 32969 by Greg Oster.
Diffstat (limited to 'mail/gld')
-rw-r--r--mail/gld/MESSAGE.mysql (renamed from mail/gld/MESSAGE)2
-rw-r--r--mail/gld/options.mk7
2 files changed, 5 insertions, 4 deletions
diff --git a/mail/gld/MESSAGE b/mail/gld/MESSAGE.mysql
index b23c72a3948..7692e02d80b 100644
--- a/mail/gld/MESSAGE
+++ b/mail/gld/MESSAGE.mysql
@@ -1,5 +1,5 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.5 2006/02/06 15:59:58 sketch Exp $
+$NetBSD: MESSAGE.mysql,v 1.1 2006/03/02 20:54:08 wiz Exp $
To configure gld, the following steps should be completed:
diff --git a/mail/gld/options.mk b/mail/gld/options.mk
index 161ad586c82..b33632128b0 100644
--- a/mail/gld/options.mk
+++ b/mail/gld/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2006/03/02 20:49:39 wiz Exp $
+# $NetBSD: options.mk,v 1.6 2006/03/02 20:54:08 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gld
PKG_OPTIONS_REQUIRED_GROUPS= database
@@ -11,12 +11,13 @@ PKG_SUGGESTED_OPTIONS= mysql
. include "../../mk/mysql.buildlink3.mk"
CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client}
LIBS+= -L${BUILDLINK_PREFIX.mysql-client}/lib \
- -Wl,-R${BUILDLINK_PREFIX.mysql-client}/lib -lmysqlclient
+ ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib -lmysqlclient
+MESSAGE_SRC+= MESSAGE.mysql
.endif
.if !empty(PKG_OPTIONS:Mpgsql)
. include "../../mk/pgsql.buildlink3.mk"
CONFIGURE_ARGS+= --with-pgsql=${BUILDLINK_PREFIX.postgresql-libs}
LIBS+= -L${BUILDLINK_PREFIX.mysql-client}/lib \
- -Wl,-R${BUILDLINK_PREFIX.mysql-client}/lib -lpq
+ ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib -lpq
.endif