diff options
author | Sylvio Cesar Teixeira <sylvio@FreeBSD.org> | 2010-04-21 16:15:54 +0000 |
---|---|---|
committer | Sylvio Cesar Teixeira <sylvio@FreeBSD.org> | 2010-04-21 16:15:54 +0000 |
commit | 1dea7e166f6a6b2b80f49cf789de846280e6b481 (patch) | |
tree | b1850efc18c9f443042caa3601a932542fedd7a0 /comms/gammu-devel | |
parent | f7a468f7fe68f0f80e361e4bce75983ec1b2ebb8 (diff) |
Notes
Diffstat (limited to 'comms/gammu-devel')
-rw-r--r-- | comms/gammu-devel/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/comms/gammu-devel/Makefile b/comms/gammu-devel/Makefile index 5857a41bfec6..760088ac9dd5 100644 --- a/comms/gammu-devel/Makefile +++ b/comms/gammu-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= gammu PORTVERSION= 1.27.93 +PORTREVISION= 1 CATEGORIES= comms MASTER_SITES= http://dl.cihar.com/gammu/releases/ \ http://dl.cihar.com.nyud.net/gammu/releases/ @@ -45,9 +46,12 @@ MAN7= gammu-smsd-dbi.7 gammu-smsd-files.7 gammu-smsd-mysql.7 \ .include <bsd.port.pre.mk> post-patch: - @${REINPLACE_CMD} -i '' -e 's:bash:sh:' -e 's:dialog:cdialog:' ${WRKSRC}/utils/gammu-config + @${REINPLACE_CMD} -e 's,bash,sh,g ; s,dialog,cdialog,g' ${WRKSRC}/utils/gammu-config .if ${OSVERSION} < 700042 @${REINPLACE_CMD} -e 's@ -Wno-pointer-sign@@g' ${WRKSRC}/CMakeLists.txt .endif +.if ${OSVERSION} > 900000 + @${REINPLACE_CMD} -e '16d' ${WRKSRC}/libgammu/misc/misc.c +.endif .include <bsd.port.post.mk> |