aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2003-11-12 21:30:23 +0800
committersf <sf@FreeBSD.org>2003-11-12 21:30:23 +0800
commitc43e5da1a000342c563424b39f19328b0250b4e4 (patch)
tree570092b8420dedaf8c6ebadf5caa7f87e2a32803
parent326d7af4e0a93d436e1ee2faf5d80eb4d36e2592 (diff)
downloadfreebsd-ports-graphics-c43e5da1a000342c563424b39f19328b0250b4e4.tar.gz
freebsd-ports-graphics-c43e5da1a000342c563424b39f19328b0250b4e4.tar.zst
freebsd-ports-graphics-c43e5da1a000342c563424b39f19328b0250b4e4.zip
prevent to add -O2.
-rw-r--r--sysutils/dvd+rw-tools/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysutils/dvd+rw-tools/Makefile b/sysutils/dvd+rw-tools/Makefile
index fb35b1fc1b7..2770dc8a5cc 100644
--- a/sysutils/dvd+rw-tools/Makefile
+++ b/sysutils/dvd+rw-tools/Makefile
@@ -15,11 +15,16 @@ COMMENT= DVD burning software
RUN_DEPENDS= ${LOCALBASE}/bin/mkisofs:${PORTSDIR}/sysutils/mkisofs
+USE_REINPLACE= yes
+
MAN1= growisofs.1
# This software is installed setuid-root (mode 4755) by default under Linux.
INSTALL_TARGET= BIN_MODE=00755 install
+post-patch:
+ ${REINPLACE_CMD} -e 's/-O2//' ${WRKSRC}/Makefile.m4
+
post-install:
${INSTALL_MAN} ${WRKSRC}/growisofs.1 ${MANPREFIX}/man/man1/
.if !defined(NOPORTDOCS)