diff options
author | knu <knu@FreeBSD.org> | 2002-10-10 20:59:36 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-10-10 20:59:36 +0800 |
commit | aaeb4b1425bfe845ae22767084c03c14edda9e76 (patch) | |
tree | 5488959ef6189820e93ea19b660003c4298e2d8a /mail/kiltdown | |
parent | ff7ff3869c89ada09dd098161eecb50d2acda462 (diff) | |
download | freebsd-ports-gnome-aaeb4b1425bfe845ae22767084c03c14edda9e76.tar.gz freebsd-ports-gnome-aaeb4b1425bfe845ae22767084c03c14edda9e76.tar.zst freebsd-ports-gnome-aaeb4b1425bfe845ae22767084c03c14edda9e76.zip |
CC, CXX, CFLAGS, PTHREAD_CFLAGS and PTHREAD_LIBS may contain `/' in
them when using a non-default compiler/linker, so do not use `/' as
delimiter for s///. (I picked `|' instead)
Diffstat (limited to 'mail/kiltdown')
-rw-r--r-- | mail/kiltdown/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/kiltdown/Makefile b/mail/kiltdown/Makefile index e6323d262fa8..18a7a961289c 100644 --- a/mail/kiltdown/Makefile +++ b/mail/kiltdown/Makefile @@ -27,8 +27,8 @@ BUILD_ENV+= PATH=${PATH}:${X11BASE}/bin post-patch: @${MV} ${WRKSRC}/configs/bsd-generic ${WRKSRC}/configs/bsd-generic.sed ${SED} \ - -e "s/SYS_CFLAGS=-pthread/SYS_CFLAGS=${PTHREAD_CFLAGS} ${CFLAGS}/" \ - -e "s/SYS_LDFLAGS=-pthread/SYS_LDFLAGS=${PTHREAD_LIBS} ${LDFLAGS}/" \ + -e "s|SYS_CFLAGS=-pthread|SYS_CFLAGS=${PTHREAD_CFLAGS} ${CFLAGS}|" \ + -e "s|SYS_LDFLAGS=-pthread|SYS_LDFLAGS=${PTHREAD_LIBS} ${LDFLAGS}|" \ ${WRKSRC}/configs/bsd-generic.sed \ > ${WRKSRC}/configs/bsd-generic |