diff options
author | sylvio <sylvio@FreeBSD.org> | 2010-04-22 00:15:54 +0800 |
---|---|---|
committer | sylvio <sylvio@FreeBSD.org> | 2010-04-22 00:15:54 +0800 |
commit | 287deda698f4ed05ed5210069cfcf4f3ae52726f (patch) | |
tree | 04271082f7475fd7f6c2385820e2771094e7b680 | |
parent | a138ad1e4955f158f5d75d6af7f2d149d6817d71 (diff) | |
download | freebsd-ports-gnome-287deda698f4ed05ed5210069cfcf4f3ae52726f.tar.gz freebsd-ports-gnome-287deda698f4ed05ed5210069cfcf4f3ae52726f.tar.zst freebsd-ports-gnome-287deda698f4ed05ed5210069cfcf4f3ae52726f.zip |
- Fix to build in 9-current
- BUMP PORTREVISION
Reported by: erwin@
Approved by: itetcu (mentor, implicit)
-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> |