diff options
author | jlam <jlam@pkgsrc.org> | 2005-06-21 16:18:52 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-06-21 16:18:52 +0000 |
commit | 9bb928ff9db3cdc677d21ed5c96aee8476e912dc (patch) | |
tree | 3ebd1eebe1bdac0baef41a32096207cee70e040c /chat/ircservices/Makefile | |
parent | 7e54e5381b8c663cc30c7b733899de64fed5a9c3 (diff) | |
download | pkgsrc-9bb928ff9db3cdc677d21ed5c96aee8476e912dc.tar.gz |
Only some platforms build the dynamically-loadable modules. On others,
the modules are statically-linked into the ircservices executable.
This fixes the installation of chat/ircservices on platforms where
dlopen() doesn't obey its "mode" argument, e.g. RTLD_NOW. Unfortunately,
NetBSD/amd64 currently falls into this category (port-amd64/30570),
but this will also fix installation on any a.out NetBSD or OpenBSD
platform.
Approved for commit during the deep freeze by <agc>.
Diffstat (limited to 'chat/ircservices/Makefile')
-rw-r--r-- | chat/ircservices/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/chat/ircservices/Makefile b/chat/ircservices/Makefile index f2c9f9623c4..bffcc9544ee 100644 --- a/chat/ircservices/Makefile +++ b/chat/ircservices/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2005/05/22 20:07:42 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2005/06/21 16:18:52 jlam Exp $ # DISTNAME= ircservices-5.0.49 @@ -53,6 +53,19 @@ CONF_FILES_PERMS+= ${PREFIX}/share/examples/ircservices/modules.conf \ ${PREFIX}/lib/services/modules.conf \ ${BINOWN} ${BINGRP} 0640 +INSTALLATION_DIRS= lib/services man/man8 sbin + +.include "../../mk/bsd.prefs.mk" + +# Only some platforms build the dynamically-loadable modules. On +# others, the modules are statically-linked into the ircservices +# executable. +# +.if exists(${WRKDIR}/${DISTNAME}/modules/mail/main.so) +PLIST_SRC= ${.CURDIR}/PLIST.shared +.endif +PLIST_SRC+= ${.CURDIR}/PLIST + post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/ircservices ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ircservices |