diff options
author | bsam <bsam@FreeBSD.org> | 2009-07-25 22:37:57 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2009-07-25 22:37:57 +0800 |
commit | b5c5f7187f1fc6e10cabb9271df5b40cc607f0ab (patch) | |
tree | 0df789b4b0862ec3677d36037597d842947e9427 /comms/gammu-devel | |
parent | 3644453754c4ac2866e62ebd8078f5f50f133c8a (diff) | |
download | freebsd-ports-gnome-b5c5f7187f1fc6e10cabb9271df5b40cc607f0ab.tar.gz freebsd-ports-gnome-b5c5f7187f1fc6e10cabb9271df5b40cc607f0ab.tar.zst freebsd-ports-gnome-b5c5f7187f1fc6e10cabb9271df5b40cc607f0ab.zip |
Place an ARCH check after ".include <bsd.port.pre.mk>".
Hm, strange it did work at amd64 tinderbox though...
Reported by: FreshPorts sanity checking
Diffstat (limited to 'comms/gammu-devel')
-rw-r--r-- | comms/gammu-devel/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/comms/gammu-devel/Makefile b/comms/gammu-devel/Makefile index 53d9265f0cbe..abb738365904 100644 --- a/comms/gammu-devel/Makefile +++ b/comms/gammu-devel/Makefile @@ -21,10 +21,6 @@ CMAKE_ARGS+= -DINSTALL_LIBDATA_DIR=${LOCALBASE}/libdata USE_CMAKE= yes USE_GNOME= pkgconfig -.if (${ARCH} == "amd64") -USE_GCC= 4.3 -.endif - .if defined(WITH_PYTHON_GAMMU) USE_PYTHON= YES PLIST_SUB= WITH_PYTHON_GAMMU="" @@ -47,6 +43,10 @@ MAN7= gammu-smsd-files.7 gammu-smsd-mysql.7 gammu-smsd-pgsql.7 \ .include <bsd.port.pre.mk> +.if (${ARCH} == "amd64") +USE_GCC= 4.3 +.endif + post-patch: @${REINPLACE_CMD} -i '' -e 's:bash:sh:' -e 's:dialog:cdialog:' ${WRKSRC}/utils/gammu-config .if ${OSVERSION} < 700042 |