summaryrefslogtreecommitdiff
path: root/chat/unrealircd/options.mk
diff options
context:
space:
mode:
authoradrianp <adrianp>2008-06-13 23:15:33 +0000
committeradrianp <adrianp>2008-06-13 23:15:33 +0000
commit49ba0f5cf44c407dab85e84f56a7f83b219c29e5 (patch)
tree63ad3c7a416a548367d198742caa2d122bfdeebf /chat/unrealircd/options.mk
parent193c69df4afccc04335adb8492f85ffaabeaea81 (diff)
downloadpkgsrc-49ba0f5cf44c407dab85e84f56a7f83b219c29e5.tar.gz
More chroot build fixes from Michael Stapelberg.
Diffstat (limited to 'chat/unrealircd/options.mk')
-rw-r--r--chat/unrealircd/options.mk9
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
###