summaryrefslogtreecommitdiff
path: root/editors/xemacs
diff options
context:
space:
mode:
authorjoerg <joerg>2009-11-09 14:09:41 +0000
committerjoerg <joerg>2009-11-09 14:09:41 +0000
commitad638fa1be25e80da6bb9716b6b0a5eefd008b91 (patch)
treeb4ab5fb31ce55408feb9cd4679193e634f5581f2 /editors/xemacs
parentf694d9fc0aad0109d907f832b6726773c186d73f (diff)
downloadpkgsrc-ad638fa1be25e80da6bb9716b6b0a5eefd008b91.tar.gz
Don't leak the buildlink directories into the final program. I can't
find a good reason why they are used here, so don't use them.
Diffstat (limited to 'editors/xemacs')
-rw-r--r--editors/xemacs/options.mk26
1 files changed, 7 insertions, 19 deletions
diff --git a/editors/xemacs/options.mk b/editors/xemacs/options.mk
index 951221c2e05..af3e49ae416 100644
--- a/editors/xemacs/options.mk
+++ b/editors/xemacs/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.8 2008/04/24 15:32:15 jlam Exp $
+# $NetBSD: options.mk,v 1.9 2009/11/09 14:09:41 joerg Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xemacs
PKG_SUPPORTED_OPTIONS= ldap xface canna x11
@@ -74,30 +74,18 @@ CONFIGURE_ARGS+= --with-jpeg
CONFIGURE_ARGS+= --with-png
CONFIGURE_ARGS+= --with-tiff
CONFIGURE_ARGS+= --with-xpm
-CONFIGURE_ARGS+= --site-includes=${SITE_INCLUDES:Q}
-CONFIGURE_ARGS+= --site-libraries=${SITE_LIBRARIES:Q}
-CONFIGURE_ARGS+= --site-runtime-libraries=${SITE_RUNTIME_LIBRARIES:Q}
-. if ${X11_TYPE} != "modular"
-SITE_INCLUDES= ${BUILDLINK_DIR}/include:${BUILDLINK_X11_DIR}/include
-SITE_LIBRARIES= ${BUILDLINK_DIR}/lib:${BUILDLINK_X11_DIR}/lib
-SITE_RUNTIME_LIBRARIES= ${PREFIX}/lib:${X11BASE}/lib
-. else
-SITE_INCLUDES= ${BUILDLINK_DIR}/include
-SITE_LIBRARIES= ${BUILDLINK_DIR}/lib
-SITE_RUNTIME_LIBRARIES= ${PREFIX}/lib
-. endif
+CONFIGURE_ARGS+= --site-includes=${PREFIX}/include:${X11BASE}/include
+CONFIGURE_ARGS+= --site-libraries=${PREFIX}/lib:${X11BASE}/lib
+CONFIGURE_ARGS+= --site-runtime-libraries=${PREFIX}/lib:${X11BASE}/lib
.else
CONFIGURE_ARGS+= --without-x
CONFIGURE_ARGS+= --without-jpeg
CONFIGURE_ARGS+= --without-png
CONFIGURE_ARGS+= --without-tiff
CONFIGURE_ARGS+= --without-xpm
-CONFIGURE_ARGS+= --site-includes=${SITE_INCLUDES:Q}
-CONFIGURE_ARGS+= --site-libraries=${SITE_LIBRARIES:Q}
-CONFIGURE_ARGS+= --site-runtime-libraries=${SITE_RUNTIME_LIBRARIES:Q}
-SITE_INCLUDES= ${BUILDLINK_DIR}/include
-SITE_LIBRARIES= ${BUILDLINK_DIR}/lib
-SITE_RUNTIME_LIBRARIES= ${PREFIX}/lib
+CONFIGURE_ARGS+= --site-includes=${PREFIX}/include
+CONFIGURE_ARGS+= --site-libraries=${PREFIX}/lib
+CONFIGURE_ARGS+= --site-runtime-libraries=${PREFIX}/lib
.endif
###