svn commit: r378894 - head/deskutils/akamaru
Sean Bruno
sbruno at FreeBSD.org
Thu Feb 12 20:48:27 UTC 2015
Author: sbruno
Date: Thu Feb 12 20:48:26 2015
New Revision: 378894
URL: https://svnweb.freebsd.org/changeset/ports/378894
QAT: https://qat.redports.org/buildarchive/r378894/
Log:
This patch makes the port respect CFLAGS, CPPFLAGS, LDFLAGS and LIBS. Fixes builds with
external toolchains (qemu enabled poudriere jails).
PR: 196968
Submitted by: tijl
Approved by: maintainer timeout
Modified:
head/deskutils/akamaru/Makefile
Modified: head/deskutils/akamaru/Makefile
==============================================================================
--- head/deskutils/akamaru/Makefile Thu Feb 12 20:47:00 2015 (r378893)
+++ head/deskutils/akamaru/Makefile Thu Feb 12 20:48:26 2015 (r378894)
@@ -3,7 +3,7 @@
PORTNAME= akamaru
PORTVERSION= 0.1
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= deskutils gnome
MASTER_SITES= http://people.freedesktop.org/~krh/
DISTNAME= ${PORTNAME}
@@ -19,6 +19,12 @@ GCONF_SCHEMAS= kiba.schemas
SUB_FILES= pkg-message
post-patch:
+ @${REINPLACE_CMD} \
+ -e '/^CFLAGS =/s|-g| ${CFLAGS} |' \
+ -e '/^CPPFLAGS =/s|$$| ${CPPFLAGS}|' \
+ -e '/^LDFLAGS =/s|-g| ${LDFLAGS} |' \
+ -e '/^LDLIBS =/s|$$| ${LIBS} -lm|' \
+ ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
${WRKSRC}/populate-dock.sh
More information about the svn-ports-head
mailing list