summaryrefslogtreecommitdiff
path: root/editors/openoffice-3-devel
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2012-11-03 16:17:08 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2012-11-03 16:17:08 +0000
commit8aac7a56b6c1def7c45c01367c04149acd2ccb30 (patch)
tree8b2957444ebab7497da30497d7f6d00a3591a01a /editors/openoffice-3-devel
parent- Convert header into new form (diff)
Remove the use of _GCC_BUILD_DEPENDS, which was never meant to be used
outside of Mk/bsd.gcc.mk and is going to go away there, and replace it by the new _GCC_RUNTIME. That one is a stop gap measure as well, but at least documented as such and easier to use. Really, using CFLAGS, LDFLAGS and the like should be sufficient and a hack like this never necessary. Simplify Makefile headers according to new guidance. Approved by: maintainer timeout (3 weeks) Feature safe: yes
Diffstat (limited to 'editors/openoffice-3-devel')
-rw-r--r--editors/openoffice-3-devel/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/editors/openoffice-3-devel/Makefile b/editors/openoffice-3-devel/Makefile
index 7cce0fbee34b..ce7fbc65d46d 100644
--- a/editors/openoffice-3-devel/Makefile
+++ b/editors/openoffice-3-devel/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Apache OpenOffice
-# Date created: 28 February 2002
-# Whom: Martin Blapp
-#
+# Created by: Martin Blapp
# $FreeBSD$
-#
PORTNAME= apache-openoffice
PORTVERSION= 3.4.${SVNREVISION}
@@ -252,8 +248,8 @@ post-extract:
post-patch:
.if defined (USE_GCC)
- @${REINPLACE_CMD} -e "s+%%RPATH%%+-Wl,-rpath=${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS}+" ${WRKSRC}/solenv/inc/unxfbsd.mk
- @${REINPLACE_CMD} -e "s+%%RPATH%%+-Wl,-rpath=${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS}+" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk
+ @${REINPLACE_CMD} -e "s+%%RPATH%%+-Wl,-rpath=${_GCC_RUNTIME}+" ${WRKSRC}/solenv/inc/unxfbsd.mk
+ @${REINPLACE_CMD} -e "s+%%RPATH%%+-Wl,-rpath=${_GCC_RUNTIME}+" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk
.else
@${REINPLACE_CMD} -e "s+%%RPATH%%++" ${WRKSRC}/solenv/inc/unxfbsd.mk
@${REINPLACE_CMD} -e "s+%%RPATH%%++" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk