aboutsummaryrefslogtreecommitdiffstats
path: root/print/xmbibtex/Makefile
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-07-04 21:56:47 +0800
committerdanfe <danfe@FreeBSD.org>2007-07-04 21:56:47 +0800
commit5690f63880672ec4799ad1397e2bd2af6de567bc (patch)
tree67d95b407e86b57838cc408b25f85c6f77ca17cd /print/xmbibtex/Makefile
parenta4ba027087d2edd5e09928c67f67c82b5ebb4796 (diff)
downloadfreebsd-ports-gnome-5690f63880672ec4799ad1397e2bd2af6de567bc.tar.gz
freebsd-ports-gnome-5690f63880672ec4799ad1397e2bd2af6de567bc.tar.zst
freebsd-ports-gnome-5690f63880672ec4799ad1397e2bd2af6de567bc.zip
- Fix the build with modern GCC and unbreak [1]
- Teach to respect PREFIX - Consistently spell application name in Makefile and pkg-descr Reported by: pointyhat (logs) [1]
Diffstat (limited to 'print/xmbibtex/Makefile')
-rw-r--r--print/xmbibtex/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/print/xmbibtex/Makefile b/print/xmbibtex/Makefile
index 625aab394bd5..532e2dc30fb1 100644
--- a/print/xmbibtex/Makefile
+++ b/print/xmbibtex/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: xmbibtex
+# New ports collection makefile for: XmBibTeX
# Date created: 06 Nov 1997
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
@@ -23,10 +23,8 @@ NO_INSTALL_MANPAGES= yes
PLIST_FILES= bin/xmbibtex lib/X11/app-defaults/XmBibTeX
-.include <bsd.port.pre.mk>
+post-configure:
+ @${REINPLACE_CMD} -e 's,(CCLINK,(CXXLINK, ; s,/usr/local,${PREFIX},' \
+ ${WRKSRC}/Makefile
-.if ${OSVERSION} >= 700042
-BROKEN= Does not compile with GCC 4.2
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>