ports/53565: post-patch for port
Krzysztof Stryjek
wtp at mud.pl
Fri Jun 20 21:00:27 UTC 2003
>Number: 53565
>Category: ports
>Synopsis: post-patch for port
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 20 14:00:24 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Krzysztof Stryjek
>Release: FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD kryptos.mud.pl 4.8-STABLE FreeBSD 4.8-STABLE #1: Thu Apr 24 11:48:42 CEST 2003 toor at kryptos.mud.pl:/usr/obj/usr/src/sys/POOH i386
>Description:
Add post-patch so package will be consistent with hier(7).
Corected also shell from Linux /bin/bash to /bin/sh
maintener-update to Krzysztof Stryjek <wtpooh at acn.waw.pl>
>How-To-Repeat:
none
>Fix:
--- mk.diff begins here ---
--- Makefile Sun May 11 05:40:35 2003
+++ /tmp/pl-sms/Makefile Fri Jun 20 22:51:15 2003
@@ -18,10 +18,18 @@
WRKSRC= ${WRKDIR}/sms
USE_GMAKE= yes
+USE_REINPLACE= yes
MAKE_ARGS= CXX="${CXX}"
.if defined(NOPORTDOCS)
MAKE_ARGS+= NOPORTDOCS=1
.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,/etc/smsrc,${PREFIX}/etc/smsrc,' \
+ ${WRKSRC}/sms.h \
+ ${WRKSRC}/README.smsrc
+ @${REINPLACE_CMD} -e 's,bash,sh,' \
+ ${WRKSRC}/contrib/sms-conf
post-install:
${STRIP_CMD} ${PREFIX}/bin/sms
--- mk.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list