aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>2000-02-18 09:59:03 +0800
committergj <gj@FreeBSD.org>2000-02-18 09:59:03 +0800
commit258fc9916fc71068f3bb1b79de6c51f2fcabe65c (patch)
tree115ee1b9013240868ebc50bb0baa8e2c2acd91eb /editors
parent72c1a0771b71376527a1a15ecebfd1efd935ee29 (diff)
downloadfreebsd-ports-gnome-258fc9916fc71068f3bb1b79de6c51f2fcabe65c.tar.gz
freebsd-ports-gnome-258fc9916fc71068f3bb1b79de6c51f2fcabe65c.tar.zst
freebsd-ports-gnome-258fc9916fc71068f3bb1b79de6c51f2fcabe65c.zip
I added logic to the Makefile to make it easier for me test when
PREFIX != LOCALBASE. Unfortunately, the change is guaranteed to break pacakging on bento. Revert to the old way of doing things. Why does this sort of thing always have to happen at 3 AM ?
Diffstat (limited to 'editors')
-rw-r--r--editors/xemacs-devel/Makefile18
-rw-r--r--editors/xemacs/Makefile18
-rw-r--r--editors/xemacs21/Makefile18
3 files changed, 6 insertions, 48 deletions
diff --git a/editors/xemacs-devel/Makefile b/editors/xemacs-devel/Makefile
index 2f7f452a9ed7..2e899fbe35e4 100644
--- a/editors/xemacs-devel/Makefile
+++ b/editors/xemacs-devel/Makefile
@@ -37,8 +37,8 @@ CONFIGURE_ARGS?=${XEMACS_ARCH} --prefix=${PREFIX} \
--with-clash-detection \
--lockdir=/var/run/emacs/lock \
--with-sound=native \
- --site-includes=${SITE_INCLUDES} \
- --site-libraries=${SITE_LIBRARIES} \
+ --site-includes=${PREFIX}/include \
+ --site-libraries=${PREFIX}/lib \
--with-session=yes \
--with-png=yes \
--with-tiff=yes \
@@ -98,17 +98,3 @@ post-install::
.endif
.include <bsd.port.mk>
-
-# this makes it easier to test using PREFIX != LOCALBASE. Do not do
-# this on bento. This has to go here because PREFIX and LOCALBASE are
-# normally defined in bsd.port.mk.
-
-.if !defined(PACKAGE_BUILDING)
-.if ${PREFIX} == ${LOCALBASE}
-SITE_INCLUDES= ${PREFIX}/include
-SITE_LIBRARIES= ${PREFIX}/lib
-.else
-SITE_INCLUDES= "${PREFIX}/include ${LOCALBASE}/include"
-SITE_LIBRARIES= "${PREFIX}/lib ${LOCALBASE}/lib"
-.endif
-.endif
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile
index 2f7f452a9ed7..2e899fbe35e4 100644
--- a/editors/xemacs/Makefile
+++ b/editors/xemacs/Makefile
@@ -37,8 +37,8 @@ CONFIGURE_ARGS?=${XEMACS_ARCH} --prefix=${PREFIX} \
--with-clash-detection \
--lockdir=/var/run/emacs/lock \
--with-sound=native \
- --site-includes=${SITE_INCLUDES} \
- --site-libraries=${SITE_LIBRARIES} \
+ --site-includes=${PREFIX}/include \
+ --site-libraries=${PREFIX}/lib \
--with-session=yes \
--with-png=yes \
--with-tiff=yes \
@@ -98,17 +98,3 @@ post-install::
.endif
.include <bsd.port.mk>
-
-# this makes it easier to test using PREFIX != LOCALBASE. Do not do
-# this on bento. This has to go here because PREFIX and LOCALBASE are
-# normally defined in bsd.port.mk.
-
-.if !defined(PACKAGE_BUILDING)
-.if ${PREFIX} == ${LOCALBASE}
-SITE_INCLUDES= ${PREFIX}/include
-SITE_LIBRARIES= ${PREFIX}/lib
-.else
-SITE_INCLUDES= "${PREFIX}/include ${LOCALBASE}/include"
-SITE_LIBRARIES= "${PREFIX}/lib ${LOCALBASE}/lib"
-.endif
-.endif
diff --git a/editors/xemacs21/Makefile b/editors/xemacs21/Makefile
index 2f7f452a9ed7..2e899fbe35e4 100644
--- a/editors/xemacs21/Makefile
+++ b/editors/xemacs21/Makefile
@@ -37,8 +37,8 @@ CONFIGURE_ARGS?=${XEMACS_ARCH} --prefix=${PREFIX} \
--with-clash-detection \
--lockdir=/var/run/emacs/lock \
--with-sound=native \
- --site-includes=${SITE_INCLUDES} \
- --site-libraries=${SITE_LIBRARIES} \
+ --site-includes=${PREFIX}/include \
+ --site-libraries=${PREFIX}/lib \
--with-session=yes \
--with-png=yes \
--with-tiff=yes \
@@ -98,17 +98,3 @@ post-install::
.endif
.include <bsd.port.mk>
-
-# this makes it easier to test using PREFIX != LOCALBASE. Do not do
-# this on bento. This has to go here because PREFIX and LOCALBASE are
-# normally defined in bsd.port.mk.
-
-.if !defined(PACKAGE_BUILDING)
-.if ${PREFIX} == ${LOCALBASE}
-SITE_INCLUDES= ${PREFIX}/include
-SITE_LIBRARIES= ${PREFIX}/lib
-.else
-SITE_INCLUDES= "${PREFIX}/include ${LOCALBASE}/include"
-SITE_LIBRARIES= "${PREFIX}/lib ${LOCALBASE}/lib"
-.endif
-.endif