summaryrefslogtreecommitdiff
path: root/editors/mule/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-04 20:35:08 +0000
committerjoerg <joerg>2006-01-04 20:35:08 +0000
commit5f3aee4cba0272a3a25c3bbdee63d4d7f5516151 (patch)
treef67af4fb4fa3190f4b0311c9e88f1c3030ba5ce2 /editors/mule/Makefile
parentfb55c50f8911c41abbba29b7eae09665658226ef (diff)
downloadpkgsrc-5f3aee4cba0272a3a25c3bbdee63d4d7f5516151.tar.gz
Make this compile on DragonFly in the hope that also means that it is
as usable as Emacs can be. Fix errno. Use ${LOWER_OPSYS} instead of hard-coded OS name and pass the pass to canna lib to configure. The first fixes !NetBSD, the latter triggers addition of rpath entries for libcanna.
Diffstat (limited to 'editors/mule/Makefile')
-rw-r--r--editors/mule/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/editors/mule/Makefile b/editors/mule/Makefile
index d7df9052229..ba422cdb652 100644
--- a/editors/mule/Makefile
+++ b/editors/mule/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2005/12/01 18:13:24 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2006/01/04 20:35:08 joerg Exp $
DISTNAME= mule-2.3
PKGREVISION= 2
@@ -22,8 +22,10 @@ USE_TOOLS+= gmake
.include "../../mk/bsd.prefs.mk"
-CONFIGURE_ARGS+= ${MACHINE_ARCH}--netbsd --with-x --with-x-toolkit=lucid
-CONFIGURE_ARGS+= --terminal-face --mcpath
+CFLAGS+=-g
+
+CONFIGURE_ARGS+= ${MACHINE_ARCH}--${LOWER_OPSYS} --with-x --with-x-toolkit=lucid
+CONFIGURE_ARGS+= --terminal-face --mcpath --canna-libraries=${PREFIX}/lib
.if ${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "sparc64"
CONFIGURE_ARGS+= --valbits=26
.endif