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 +.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 diff --git a/comms/gammu/Makefile b/comms/gammu/Makefile index 53d9265f0cbe..abb738365904 100644 --- a/comms/gammu/Makefile +++ b/comms/gammu/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 +.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