diff options
author | nork <nork@FreeBSD.org> | 2007-06-04 01:23:56 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2007-06-04 01:23:56 +0800 |
commit | 92d561be7aad3dae5b5e7d9b6fada4850a642a97 (patch) | |
tree | 6bad7cbc8fe41d1db22cad96110f1e133924a8f4 /net/liveMedia | |
parent | 6cf15b4713199efbb1cc57ffc2bbf373a12c8554 (diff) | |
download | freebsd-ports-gnome-92d561be7aad3dae5b5e7d9b6fada4850a642a97.tar.gz freebsd-ports-gnome-92d561be7aad3dae5b5e7d9b6fada4850a642a97.tar.zst freebsd-ports-gnome-92d561be7aad3dae5b5e7d9b6fada4850a642a97.zip |
o Add -fpic/-fPIC for shared object(.so) using liveMedia.
o Bump PORTREVISION, accordingly.
Requested by: ahze
Discussed with: ahze and kris
Diffstat (limited to 'net/liveMedia')
-rw-r--r-- | net/liveMedia/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/liveMedia/Makefile b/net/liveMedia/Makefile index 4132021265ab..537f9aa4d377 100644 --- a/net/liveMedia/Makefile +++ b/net/liveMedia/Makefile @@ -7,7 +7,7 @@ PORTNAME= liveMedia PORTVERSION= 2007.05.24 -PORTREVISION= 0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net devel MASTER_SITES= http://www.live555.com/liveMedia/public/ @@ -173,6 +173,13 @@ liveMedia= \ .include <bsd.port.pre.mk> +.if ${ARCH} == "amd64" || ${ARCH} == "ia64" +CFLAGS+= -fPIC +.else +CFLAGS+= -fpic +.endif + + post-extract: @${CP} ${FILESDIR}/config.fixed-${OPSYS:L} ${WRKSRC}/ |