diff options
author | adrianp <adrianp@pkgsrc.org> | 2008-06-13 23:15:33 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2008-06-13 23:15:33 +0000 |
commit | e832b2e92194e99b0107a16f816eab2a9b9f3a6e (patch) | |
tree | 63ad3c7a416a548367d198742caa2d122bfdeebf /chat/unrealircd/options.mk | |
parent | 49e12bc28a5e01237d8a520bce056b7b9fc01ecf (diff) | |
download | pkgsrc-e832b2e92194e99b0107a16f816eab2a9b9f3a6e.tar.gz |
More chroot build fixes from Michael Stapelberg.
Diffstat (limited to 'chat/unrealircd/options.mk')
-rw-r--r-- | chat/unrealircd/options.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/chat/unrealircd/options.mk b/chat/unrealircd/options.mk index be47622a096..f61e2d3941d 100644 --- a/chat/unrealircd/options.mk +++ b/chat/unrealircd/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.9 2006/07/18 22:43:36 adrianp Exp $ +# $NetBSD: options.mk,v 1.10 2008/06/13 23:15:33 adrianp Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.unrealircd @@ -75,7 +75,12 @@ CONFIGURE_ARGS+= --enable-libcurl=${PREFIX:Q} ### CHROOTDIR is defined as ${IRCD_HOME}. ### .if !empty(PKG_OPTIONS:Munrealircd-chroot) -CFLAGS+= -DCHROOTDIR +CFLAGS+= -DCHROOTDIR +CFLAGS+= -DIRC_USER=\"${UIRCD_USER}\" +CFLAGS+= -DIRC_GROUP=\"${UIRCD_GROUP}\" +CONFIGURE_ARGS+= --disable-dynamic-linking +.else +CONFIGURE_ARGS+= --enable-dynamic-linking .endif ### |