aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGES
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-07-01 20:11:16 +0800
committermat <mat@FreeBSD.org>2015-07-01 20:11:16 +0800
commita38043e933c1c59036dce545e2cd6d003b38a434 (patch)
treec001c2276a0940cf57f57f670c1824077d9ed3b4 /CHANGES
parentb5885ed0b137c179bdfc2d87acef262ac263b86f (diff)
downloadfreebsd-ports-gnome-a38043e933c1c59036dce545e2cd6d003b38a434.tar.gz
freebsd-ports-gnome-a38043e933c1c59036dce545e2cd6d003b38a434.tar.zst
freebsd-ports-gnome-a38043e933c1c59036dce545e2cd6d003b38a434.zip
Introduce target option helpers.
With hat: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D2944
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES32
1 files changed, 32 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 69c3cf765c98..cddde1ab7ca1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,38 @@ in the release notes and/or placed into UPDATING.
All ports committers are allowed to commit to this file.
+20150701:
+AUTHOR: mat@FreeBSD.org
+
+ Make option target helpers have been added, it allows replacing:
+
+ .include <bsd.port.options.mk>
+
+ post-patch:
+ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ ${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
+ .if ${PORT_OPTIONS:MPTHREAD}
+ ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lpthread|g;' \
+ ${WRKSRC}/hints/freebsd.sh
+ .else
+ ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \
+ ${WRKSRC}/hints/freebsd.sh
+ .endif
+
+ with:
+
+ post-patch:
+ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ ${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
+
+ post-patch-PTHREAD-on:
+ ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lpthread|g;' \
+ ${WRKSRC}/hints/freebsd.sh
+
+ post-patch-PTHREAD-off:
+ ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \
+ ${WRKSRC}/hints/freebsd.sh
+
20150622:
AUTHOR: bapt@FreeBSD.org