aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2011-12-20 00:47:19 +0800
committerdanfe <danfe@FreeBSD.org>2011-12-20 00:47:19 +0800
commitb891596b4eed0cb5870024ef614408f8ea82cf6d (patch)
treebe8228ac644b54efd09f37ebdcc3ca1d93907706
parent78163798265a33b5d116cfa4ad97fb09d100b7de (diff)
downloadfreebsd-ports-graphics-b891596b4eed0cb5870024ef614408f8ea82cf6d.tar.gz
freebsd-ports-graphics-b891596b4eed0cb5870024ef614408f8ea82cf6d.tar.zst
freebsd-ports-graphics-b891596b4eed0cb5870024ef614408f8ea82cf6d.zip
Patch things in a more accurate way to unbreak installation (and also prevent
CFLAGS duplication while I am here). Reported by: pavmail
-rw-r--r--graphics/pho/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/pho/Makefile b/graphics/pho/Makefile
index ad6e2e62f53..0524cef3f77 100644
--- a/graphics/pho/Makefile
+++ b/graphics/pho/Makefile
@@ -28,7 +28,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|make|$$(MAKE)| ; \
/bin/s|$$(INSTALL)|${INSTALL_PROGRAM}| ; \
/man/s|$$(INSTALL)|${INSTALL_MAN}| ; \
- s|-g|${CFLAGS}| ; s|^G1FLAGS|#&|' ${WRKSRC}/Makefile
+ /CFLAGS/s|-g|| ; s|^G1FLAGS|#&|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|-Wall -g -O2 ||' ${WRKSRC}/exif/Makefile
.include <bsd.port.mk>